diff --git a/src/org/torproject/android/service/TorService.java b/src/org/torproject/android/service/TorService.java index 97e28517..13c653c1 100644 --- a/src/org/torproject/android/service/TorService.java +++ b/src/org/torproject/android/service/TorService.java @@ -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);