String changes for Location services Settings screen
Bug: 5098817 Change-Id: I11cf170e06e5cc117d62ffe1f72dbb47c7fc9e0e
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user