diff options
author | John Reck <jreck@google.com> | 2011-04-25 09:01:54 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-04-26 13:03:32 -0700 |
commit | 35e9dd6283a2d65687104eb0b3a459c02dcb150b (patch) | |
tree | d7091a875a205b2650106d8d01331f30eeb7e68a /src/com/android/browser/preferences/LabPreferencesFragment.java | |
parent | 6cd8f6b6ad2733f71d81de1188d830d010c1b4b6 (diff) | |
download | packages_apps_Browser-35e9dd6283a2d65687104eb0b3a459c02dcb150b.zip packages_apps_Browser-35e9dd6283a2d65687104eb0b3a459c02dcb150b.tar.gz packages_apps_Browser-35e9dd6283a2d65687104eb0b3a459c02dcb150b.tar.bz2 |
Browser settings refactor
Change-Id: I6fc1b21f7ea692fbe37a17bf900e9b7408a9c077
Diffstat (limited to 'src/com/android/browser/preferences/LabPreferencesFragment.java')
-rw-r--r-- | src/com/android/browser/preferences/LabPreferencesFragment.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/browser/preferences/LabPreferencesFragment.java b/src/com/android/browser/preferences/LabPreferencesFragment.java index 88a9690..f99b96d 100644 --- a/src/com/android/browser/preferences/LabPreferencesFragment.java +++ b/src/com/android/browser/preferences/LabPreferencesFragment.java @@ -18,6 +18,7 @@ package com.android.browser.preferences; import com.android.browser.BrowserActivity; import com.android.browser.BrowserSettings; +import com.android.browser.PreferenceKeys; import com.android.browser.R; import com.android.browser.search.SearchEngine; @@ -41,11 +42,11 @@ public class LabPreferencesFragment extends PreferenceFragment // Load the XML preferences file addPreferencesFromResource(R.xml.lab_preferences); - Preference e = findPreference(BrowserSettings.PREF_QUICK_CONTROLS); + Preference e = findPreference(PreferenceKeys.PREF_ENABLE_QUICK_CONTROLS); if (e != null) { e.setOnPreferenceChangeListener(this); } - useInstantPref = findPreference(BrowserSettings.PREF_USE_INSTANT); + useInstantPref = findPreference(PreferenceKeys.PREF_USE_INSTANT_SEARCH); } @Override |