summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-01-27 18:39:13 +0100
committerParménides GV <parmegv@sdf.org>2014-04-21 17:36:59 +0200
commit365a517ab7571bce056812253cdbb410f3aa8e35 (patch)
treedad7a8e14ae56b25b026d8538f1c55367dd91401 /src
parent0a4162684fe5874f20a4d1e79eae611b93f72a24 (diff)
Launcher and notification reuse existing Activity.
Notifications get mad, we have to fix that.
Diffstat (limited to 'src')
-rw-r--r--src/se/leap/bitmaskclient/OnBootReceiver.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/se/leap/bitmaskclient/OnBootReceiver.java b/src/se/leap/bitmaskclient/OnBootReceiver.java
index 3e87c308..eb196d46 100644
--- a/src/se/leap/bitmaskclient/OnBootReceiver.java
+++ b/src/se/leap/bitmaskclient/OnBootReceiver.java
@@ -15,6 +15,7 @@ public class OnBootReceiver extends BroadcastReceiver {
if (!context.getSharedPreferences(Dashboard.SHARED_PREFERENCES, Context.MODE_PRIVATE).getString(Provider.KEY, "").isEmpty() && context.getSharedPreferences(Dashboard.SHARED_PREFERENCES, Context.MODE_PRIVATE).getBoolean(Dashboard.START_ON_BOOT, false)) {
Intent dashboard_intent = new Intent(context, Dashboard.class);
dashboard_intent.setAction(EIP.ACTION_START_EIP);
+ dashboard_intent.putExtra(Dashboard.ON_BOOT, true);
dashboard_intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(dashboard_intent);
}