summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2014-03-01 18:50:33 -0800
committerSean Leonard <meanderingcode@aetherislands.net>2014-03-01 18:50:33 -0800
commitff19d1fd8845053d42765d77a04440b6d1eed01e (patch)
treec2bd64d62f470ef9f2a39ba349a5978f957300ec
parentfd84feba5aa3ad86c54ed99d62e08be9f1681d57 (diff)
Explicit startService() for updating EIP definitions
-rw-r--r--src/se/leap/bitmaskclient/Dashboard.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/se/leap/bitmaskclient/Dashboard.java b/src/se/leap/bitmaskclient/Dashboard.java
index 07039a78..b4d06f23 100644
--- a/src/se/leap/bitmaskclient/Dashboard.java
+++ b/src/se/leap/bitmaskclient/Dashboard.java
@@ -106,7 +106,9 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf
if ( resultCode == RESULT_OK ){
getSharedPreferences(Dashboard.SHARED_PREFERENCES, MODE_PRIVATE).edit().putInt(EIP.PARSED_SERIAL, 0).commit();
getSharedPreferences(Dashboard.SHARED_PREFERENCES, MODE_PRIVATE).edit().putBoolean(EIP.AUTHED_EIP, authed_eip).commit();
- startService( new Intent(EIP.ACTION_UPDATE_EIP_SERVICE) );
+ Intent updateEIP = new Intent(getApplicationContext(), EIP.class);
+ updateEIP.setAction(EIP.ACTION_UPDATE_EIP_SERVICE);
+ startService(updateEIP);
buildDashboard();
if(data != null && data.hasExtra(LogInDialog.VERB)) {