Merge "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."
This commit is contained in:
committed by
Android (Google) Code Review
commit
ffa3793601
@@ -7167,6 +7167,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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user