diff options
author | Parménides GV <parmegv@sdf.org> | 2014-01-27 18:39:13 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-04-21 17:36:59 +0200 |
commit | 365a517ab7571bce056812253cdbb410f3aa8e35 (patch) | |
tree | dad7a8e14ae56b25b026d8538f1c55367dd91401 /src/se/leap/bitmaskclient | |
parent | 0a4162684fe5874f20a4d1e79eae611b93f72a24 (diff) |
Launcher and notification reuse existing Activity.
Notifications get mad, we have to fix that.
Diffstat (limited to 'src/se/leap/bitmaskclient')
-rw-r--r-- | src/se/leap/bitmaskclient/OnBootReceiver.java | 1 |
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); } |