summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSean Cotter <cotter@google.com>2011-08-02 16:16:11 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-02 16:16:11 -0700
commitceba6ef5a6c92f711f4961b0355e81f8d6d1c624 (patch)
treeb645b5ce9abd16530bd36f07c3fb55e874975559 /src
parent8d7f9594cdcfd3e88c67db195aca6accc3c10274 (diff)
parentee52a4253b5ac284577d79bc35d29705e63e6ce8 (diff)
downloadpackages_apps_settings-ceba6ef5a6c92f711f4961b0355e81f8d6d1c624.zip
packages_apps_settings-ceba6ef5a6c92f711f4961b0355e81f8d6d1c624.tar.gz
packages_apps_settings-ceba6ef5a6c92f711f4961b0355e81f8d6d1c624.tar.bz2
Merge "String changes for Location services Settings screen Bug: 5098817"
Diffstat (limited to 'src')
-rw-r--r--src/com/android/settings/LocationSettings.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/settings/LocationSettings.java b/src/com/android/settings/LocationSettings.java
index 645e6d7..0824aab 100644
--- a/src/com/android/settings/LocationSettings.java
+++ b/src/com/android/settings/LocationSettings.java
@@ -90,8 +90,7 @@ public class LocationSettings extends SettingsPreferenceFragment
CheckBoxPreference useLocation = new CheckBoxPreference(getActivity());
useLocation.setKey(KEY_USE_LOCATION);
useLocation.setTitle(R.string.use_location_title);
- useLocation.setSummaryOn(R.string.use_location_summary_enabled);
- useLocation.setSummaryOff(R.string.use_location_summary_disabled);
+ useLocation.setSummary(R.string.use_location_summary);
useLocation.setChecked(
GoogleLocationSettingHelper.getUseLocationForServices(getActivity())
== GoogleLocationSettingHelper.USE_LOCATION_FOR_SERVICES_ON);