]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/DictionaryManagerActivity.java
Remove dead code.
[Dictionary.git] / src / com / hughes / android / dictionary / DictionaryManagerActivity.java
index 7d0bc8918f52b2adba929eb8a58240ddf0b638d6..5264248171c5b33def0dc102f344a71cc94d3f84 100644 (file)
@@ -468,7 +468,7 @@ public class DictionaryManagerActivity extends ActionBarActivity {
             startActivity(DictionaryActivity.getLaunchIntent(getApplicationContext(),
                           new File(prefs.getString(C.DICT_FILE, "")),
                           prefs.getString(C.INDEX_SHORT_NAME, ""),
-                          prefs.getString(C.SEARCH_TOKEN, "")));
+                          ""));
             finish();
             return;
         }
@@ -478,7 +478,6 @@ public class DictionaryManagerActivity extends ActionBarActivity {
         final Editor editor = prefs.edit();
         editor.remove(C.DICT_FILE);
         editor.remove(C.INDEX_SHORT_NAME);
-        editor.remove(C.SEARCH_TOKEN);
         editor.commit();
 
         application.backgroundUpdateDictionaries(dictionaryUpdater);