make sure the unbind intent is not null

This commit is contained in:
Nathan Freitas 2014-05-02 14:58:36 -04:00
parent b8140191ef
commit fd5128170a
1 changed files with 2 additions and 1 deletions

View File

@ -186,6 +186,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst
@Override @Override
public boolean onUnbind(Intent intent) { public boolean onUnbind(Intent intent) {
if (intent != null)
logNotice( "onUnbind Called: " + intent.getAction()); logNotice( "onUnbind Called: " + intent.getAction());
return super.onUnbind(intent); return super.onUnbind(intent);