diff --git a/res/values/config.xml b/res/values/config.xml index d0cd96b8e1b..00e5c99fde6 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -784,4 +784,7 @@ com.android.vending + + + true diff --git a/src/com/android/settings/location/LocationServicesPreferenceController.java b/src/com/android/settings/location/LocationServicesPreferenceController.java index 53150a827b3..bab8bc8d62d 100644 --- a/src/com/android/settings/location/LocationServicesPreferenceController.java +++ b/src/com/android/settings/location/LocationServicesPreferenceController.java @@ -32,7 +32,7 @@ public class LocationServicesPreferenceController extends BasePreferenceControll @AvailabilityStatus public int getAvailabilityStatus() { - return mContext.getResources().getBoolean(R.bool.config_show_location_scanning) + return mContext.getResources().getBoolean(R.bool.config_show_location_services) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; } diff --git a/tests/robotests/res/values-mcc999/config.xml b/tests/robotests/res/values-mcc999/config.xml index a5767e40907..2183b47a37a 100644 --- a/tests/robotests/res/values-mcc999/config.xml +++ b/tests/robotests/res/values-mcc999/config.xml @@ -38,6 +38,7 @@ false false false + false false false false diff --git a/tests/robotests/res/values/config.xml b/tests/robotests/res/values/config.xml index 323e742a481..312d31d1c5c 100644 --- a/tests/robotests/res/values/config.xml +++ b/tests/robotests/res/values/config.xml @@ -20,4 +20,5 @@ true true true + true