diff options
author | 2014-10-09 12:21:56 -0700 | |
---|---|---|
committer | 2014-10-10 10:49:32 -0700 | |
commit | 1e10d29bc8975ea45ca5e3bdf1936aa418161bcb (patch) | |
tree | 5335837308f4be45cab40477313534fde9001323 /java/src/com/android/inputmethod/latin/settings/Settings.java | |
parent | 6e565332df385d67d58543879f9d81263e667c06 (diff) | |
download | latinime-1e10d29bc8975ea45ca5e3bdf1936aa418161bcb.tar.gz latinime-1e10d29bc8975ea45ca5e3bdf1936aa418161bcb.tar.xz latinime-1e10d29bc8975ea45ca5e3bdf1936aa418161bcb.zip |
Don't restore device specific preferences
There are two categories of preferences:
1. That are part of the default shared preference
They were all getting backed up and restored.
Added a blacklist to not restore some of these.
e.g. current account
2. That are in a non-default shared preference file.
These are not getting backed up currently, but added a specific
local preference file for all such preferences.
Bug: 17288591
Change-Id: I2f748be971a2337543e5014434aa39313fd1e1d8
Diffstat (limited to 'java/src/com/android/inputmethod/latin/settings/Settings.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/settings/Settings.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/settings/Settings.java b/java/src/com/android/inputmethod/latin/settings/Settings.java index 84596b4ad..103033c16 100644 --- a/java/src/com/android/inputmethod/latin/settings/Settings.java +++ b/java/src/com/android/inputmethod/latin/settings/Settings.java @@ -106,8 +106,6 @@ public final class Settings implements SharedPreferences.OnSharedPreferenceChang public static final String PREF_KEY_IS_INTERNAL = "pref_key_is_internal"; public static final String PREF_ENABLE_METRICS_LOGGING = "pref_enable_metrics_logging"; - public static final String PREF_ACCOUNT_NAME = "pref_account_name"; - // This preference key is deprecated. Use {@link #PREF_SHOW_LANGUAGE_SWITCH_KEY} instead. // This is being used only for the backward compatibility. private static final String PREF_SUPPRESS_LANGUAGE_SWITCH_KEY = |