summaryrefslogtreecommitdiff
path: root/src/se/leap
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-01-22 20:50:53 +0100
committerParménides GV <parmegv@sdf.org>2014-04-21 17:36:59 +0200
commitb9a190335150e458099d81b70c16462fbe9e3cdd (patch)
tree6c22baaf605992cc294f3776cbc072366e2571bb /src/se/leap
parentf85ff9f79376ca56c62c17e3f9c5968113b44565 (diff)
Always restore last eip status on boot.
Next step: don't restore off status!
Diffstat (limited to 'src/se/leap')
-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 6e8fc245..6d1dad79 100644
--- a/src/se/leap/bitmaskclient/OnBootReceiver.java
+++ b/src/se/leap/bitmaskclient/OnBootReceiver.java
@@ -14,6 +14,7 @@ public class OnBootReceiver extends BroadcastReceiver {
if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) {
if (!context.getSharedPreferences(Dashboard.SHARED_PREFERENCES, Context.MODE_PRIVATE).getString(Provider.KEY, "").isEmpty()) {
Intent dashboard_intent = new Intent(context, Dashboard.class);
+ dashboard_intent.setAction(EIP.ACTION_START_EIP);
dashboard_intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(dashboard_intent);
}