a nasty bug!
This commit is contained in:
parent
799d47f181
commit
ac6522cb94
1 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,8 @@ public class PgpHandler extends Activity implements OpenPgpServiceConnection.OnB
|
|||
@Override
|
||||
public void onStop(){
|
||||
super.onStop();
|
||||
this.mServiceConnection.unbindFromService();
|
||||
if (this.mServiceConnection.isBound())
|
||||
this.mServiceConnection.unbindFromService();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue