summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2015-11-10 18:37:09 -0600
committerMatt Mower <mowerm@gmail.com>2015-11-14 23:43:55 -0600
commitea2d42d654656b82b582f7991485cf4e406d949d (patch)
treeb6326cb237d66c8927528681dfe3c59f52b4c394 /res/layout
parentb64d5e7676a1f31f200ae9b5134b5ccd4aab38d4 (diff)
downloadpackages_apps_SetupWizard-ea2d42d654656b82b582f7991485cf4e406d949d.zip
packages_apps_SetupWizard-ea2d42d654656b82b582f7991485cf4e406d949d.tar.gz
packages_apps_SetupWizard-ea2d42d654656b82b582f7991485cf4e406d949d.tar.bz2
SetupWizard: Update Location services page
* Remove usage of deprecated setLocationProviderEnabled and isLocationProviderEnabled * Use BroadcastReceiver to listen for changes to mode * Replace GPS option with Battery Saving option (there is no longer a mode available in Android which disables GPS) TODO: Create CMStats entry for ENABLE_BATTERY_SAVING_LOCATION Change-Id: I2efe69125518637ae9b7d0dce285c39dae654d4c
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/location_settings.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/res/layout/location_settings.xml b/res/layout/location_settings.xml
index 07142e3..53ae954 100644
--- a/res/layout/location_settings.xml
+++ b/res/layout/location_settings.xml
@@ -118,7 +118,7 @@
</LinearLayout>
<LinearLayout
- android:id="@+id/gps"
+ android:id="@+id/battery_saving"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -128,7 +128,7 @@
android:clickable="true">
<CheckBox
- android:id="@+id/gps_checkbox"
+ android:id="@+id/battery_saving_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
@@ -138,7 +138,7 @@
<TextView
- android:id="@+id/gps_summary"
+ android:id="@+id/battery_saving_summary"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -148,7 +148,7 @@
android:layout_marginLeft="@dimen/location_text_margin_left"
android:layout_marginRight="@dimen/location_text_margin_right"
android:paddingBottom="@dimen/content_margin_bottom"
- android:text="@string/location_gps"
+ android:text="@string/location_battery_saving"
android:maxLines="5" />
</LinearLayout>