From 8442db24a1f75e67ea658e7fd29708ef3fa4af1b Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Wed, 25 Jul 2012 18:28:51 -0700 Subject: [PATCH] Move Google-apps specific location settings to a Google package Bug: 6882764 This removes the Google specific checkbox and adds a master toggle for location providers which turns both providers on/off when toggled. Change-Id: I2a7af0953902bfd6f4b221725dc2d838bb3d0ce4 --- res/xml/location_settings.xml | 24 +++- .../settings/GoogleLocationSettingHelper.java | 129 ------------------ .../android/settings/LocationSettings.java | 110 ++++++++++----- 3 files changed, 96 insertions(+), 167 deletions(-) delete mode 100644 src/com/android/settings/GoogleLocationSettingHelper.java diff --git a/res/xml/location_settings.xml b/res/xml/location_settings.xml index 8d8757dadcd..ab212d82b8c 100644 --- a/res/xml/location_settings.xml +++ b/res/xml/location_settings.xml @@ -17,15 +17,29 @@ - + + + + android:summary="@string/location_street_level" + android:dependency="location_toggle" + android:persistent="false" /> + +