summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2013-06-18 20:57:46 -0600
committerSean Leonard <meanderingcode@aetherislands.net>2013-06-20 18:54:43 -0600
commite8603d83248591a750d632a35dac125ea7749575 (patch)
treeb430e11b0f8c287a875cc54ecfcb3acdf5aa13f2 /src
parent7e98a58eedd638113d447be9c7c2aff8ecfa444e (diff)
Remove superfluous loading of SharedPreferences
Diffstat (limited to 'src')
-rw-r--r--src/se/leap/leapclient/Dashboard.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/se/leap/leapclient/Dashboard.java b/src/se/leap/leapclient/Dashboard.java
index d88d09e9..d417bb83 100644
--- a/src/se/leap/leapclient/Dashboard.java
+++ b/src/se/leap/leapclient/Dashboard.java
@@ -94,9 +94,7 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf
protected void onActivityResult(int requestCode, int resultCode, Intent data){
if ( requestCode == CONFIGURE_LEAP ) {
if ( resultCode == RESULT_OK ){
- preferences = getSharedPreferences(ConfigHelper.PREFERENCES_KEY,MODE_PRIVATE);
startService( new Intent(EIP.ACTION_UPDATE_EIP_SERVICE) );
-
buildDashboard();
} else {
AlertDialog.Builder alertBuilder = new AlertDialog.Builder(getAppContext());