diff options
Diffstat (limited to 'src/com/android/browser/BrowserYesNoPreference.java')
-rw-r--r-- | src/com/android/browser/BrowserYesNoPreference.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserYesNoPreference.java b/src/com/android/browser/BrowserYesNoPreference.java index ae93882..e380e57 100644 --- a/src/com/android/browser/BrowserYesNoPreference.java +++ b/src/com/android/browser/BrowserYesNoPreference.java @@ -51,6 +51,9 @@ class BrowserYesNoPreference extends YesNoPreference { getKey())) { BrowserSettings.getInstance().resetDefaultPreferences(context); setEnabled(true); + } else if (BrowserSettings.PREF_CLEAR_LOCATION_ACCESS.equals( + getKey())) { + BrowserSettings.getInstance().clearLocationAccess(context); } } } |