Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a7ec0e6 authored by Kate Montgomery's avatar Kate Montgomery
Browse files

Add a setting which stores whether or not to show system location

accesses. This is needed for aligning the location indicator to the
recent location accesses page in location settings.

Bug: 191503437
Test: manual
Change-Id: I9d2f473a75e3bfdfef59e675d2f6849e66cbbd94
parent 1d7def59
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -7157,6 +7157,12 @@ public final class Settings {
        @Readable
        public static final String LOCATION_COARSE_ACCURACY_M = "locationCoarseAccuracy";
        /**
         * Whether or not to show display system location accesses.
         * @hide
         */
        public static final String LOCATION_SHOW_SYSTEM_OPS = "locationShowSystemOps";
        /**
         * A flag containing settings used for biometric weak
         * @hide
+1 −0
Original line number Diff line number Diff line
@@ -296,6 +296,7 @@ public class SecureSettingsValidators {
        VALIDATORS.put(Secure.CLIPBOARD_SHOW_ACCESS_NOTIFICATIONS, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Secure.NOTIFICATION_BUBBLES, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Secure.LOCATION_TIME_ZONE_DETECTION_ENABLED, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Secure.LOCATION_SHOW_SYSTEM_OPS, BOOLEAN_VALIDATOR);
        VALIDATORS.put(Secure.DEVICE_STATE_ROTATION_LOCK, value -> {
            if (TextUtils.isEmpty(value)) {
                return true;