String changes for Location services Settings screen

Bug: 5098817

Change-Id: I11cf170e06e5cc117d62ffe1f72dbb47c7fc9e0e
This commit is contained in:
Sean Cotter
2011-07-29 16:36:30 -07:00
parent c29e312dd6
commit ee52a4253b
3 changed files with 15 additions and 24 deletions

View File

@@ -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);