From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dmitry Muhomor Date: Fri, 10 Feb 2023 12:44:30 +0200 Subject: [PATCH] add a toggle for forcibly disabling SUPL --- res/values/strings.xml | 3 ++ res/xml/location_settings.xml | 6 +++ .../ForceDisableSuplPrefController.java | 41 +++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 src/com/android/settings/location/ForceDisableSuplPrefController.java diff --git a/res/values/strings.xml b/res/values/strings.xml index a64940d793..f1ea003e3b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -11517,4 +11517,7 @@ Don\u2019t connect Connect + + Force disable Secure User Plane Location (SUPL) + Always disable SUPL assisted location support regardless of carrier configuration (does not disable control plane A-GNSS and DivestOS does not send IMSI to the SUPL) diff --git a/res/xml/location_settings.xml b/res/xml/location_settings.xml index 136e6ab619..ae1a0e0f3e 100644 --- a/res/xml/location_settings.xml +++ b/res/xml/location_settings.xml @@ -68,6 +68,12 @@ android:title="@string/managed_profile_location_services" android:key="location_services_managed_profile" /> + +