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