From cae2c7c1579076007fb11c788c2b4fd9449df2db Mon Sep 17 00:00:00 2001 From: Nathan Freitas Date: Thu, 19 Mar 2015 10:28:37 -0400 Subject: [PATCH] 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 643db132..340bfabc 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); }