summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSean Cotter <cotter@google.com>2011-07-29 16:36:30 -0700
committerSean Cotter <cotter@google.com>2011-08-02 09:59:11 -0700
commitee52a4253b5ac284577d79bc35d29705e63e6ce8 (patch)
tree5bcc301771e5ef7c2a1a7820c103a59780c37828 /src
parentc29e312dd6cbc15e57ca06611b69825cc334b80b (diff)
downloadpackages_apps_settings-ee52a4253b5ac284577d79bc35d29705e63e6ce8.zip
packages_apps_settings-ee52a4253b5ac284577d79bc35d29705e63e6ce8.tar.gz
packages_apps_settings-ee52a4253b5ac284577d79bc35d29705e63e6ce8.tar.bz2
String changes for Location services Settings screen
Bug: 5098817 Change-Id: I11cf170e06e5cc117d62ffe1f72dbb47c7fc9e0e
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);