commit fd5128170a63dcd1087b2ebf1c8a1201f6b7e844 Author: Nathan Freitas nathan@freitas.net Date: Fri May 2 14:58:36 2014 -0400
make sure the unbind intent is not null --- src/org/torproject/android/service/TorService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/org/torproject/android/service/TorService.java b/src/org/torproject/android/service/TorService.java index 97e2851..13c653c 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);
tor-commits@lists.torproject.org