diff options
author | John Reck <jreck@android.com> | 2012-09-05 10:17:44 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-09-05 10:17:44 -0700 |
commit | e9caeafa9a953be0cbe974043920d72cec9ddf22 (patch) | |
tree | f3ab50e0f7681a8ea9587d7913207a2572420e34 /src | |
parent | 31b62c4c83cc6f2909731bd80cc75910cc7f3b8b (diff) | |
parent | 1fce2b5dc32712cb5c6e301844a736da5d4aa848 (diff) | |
download | packages_apps_browser-e9caeafa9a953be0cbe974043920d72cec9ddf22.zip packages_apps_browser-e9caeafa9a953be0cbe974043920d72cec9ddf22.tar.gz packages_apps_browser-e9caeafa9a953be0cbe974043920d72cec9ddf22.tar.bz2 |
am 1fce2b5d: Merge "Reset to default did not reset cached settings"
* commit '1fce2b5dc32712cb5c6e301844a736da5d4aa848':
Reset to default did not reset cached settings
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/browser/BrowserSettings.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java index 8dfd4d7..7d3195a 100644 --- a/src/com/android/browser/BrowserSettings.java +++ b/src/com/android/browser/BrowserSettings.java @@ -506,9 +506,14 @@ public class BrowserSettings implements OnSharedPreferenceChangeListener, .clear() .putLong(GoogleAccountLogin.PREF_AUTOLOGIN_TIME, gal) .apply(); + resetCachedValues(); syncManagedSettings(); } + private void resetCachedValues() { + updateSearchEngine(false); + } + public AutoFillProfile getAutoFillProfile() { return mAutofillHandler.getAutoFillProfile(); } |