commit cae2c7c1579076007fb11c788c2b4fd9449df2db Author: Nathan Freitas nathan@freitas.net Date: Thu Mar 19 10:28:37 2015 -0400
don't add new task flag - will start on boot automatically --- src/org/torproject/android/service/OnBootReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/org/torproject/android/service/OnBootReceiver.java b/src/org/torproject/android/service/OnBootReceiver.java index 643db13..340bfab 100644 --- a/src/org/torproject/android/service/OnBootReceiver.java +++ b/src/org/torproject/android/service/OnBootReceiver.java @@ -34,7 +34,7 @@ public class OnBootReceiver extends BroadcastReceiver { public void startVpnService (Context context) { Intent intent = VpnService.prepare(context); - intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); + // intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); if (intent != null) { context.startActivity(intent); }
tor-commits@lists.torproject.org