From ff19d1fd8845053d42765d77a04440b6d1eed01e Mon Sep 17 00:00:00 2001 From: Sean Leonard Date: Sat, 1 Mar 2014 18:50:33 -0800 Subject: Explicit startService() for updating EIP definitions --- src/se/leap/bitmaskclient/Dashboard.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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)) { -- cgit v1.2.3