From: Reimar Döffinger Date: Wed, 1 Nov 2017 22:08:09 +0000 (+0100) Subject: Remove dead code. X-Git-Url: http://gitweb.fperrin.net/?p=Dictionary.git;a=commitdiff_plain;h=dd3ab1add7051a20887e8db6150c1a00a42404a1 Remove dead code. The search token was saved and restored to shared preferences for no reason at all. --- diff --git a/src/com/hughes/android/dictionary/DictionaryManagerActivity.java b/src/com/hughes/android/dictionary/DictionaryManagerActivity.java index 6becda6..5264248 100644 --- a/src/com/hughes/android/dictionary/DictionaryManagerActivity.java +++ b/src/com/hughes/android/dictionary/DictionaryManagerActivity.java @@ -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);