Deprecate settings secure properties for location access check
Bug: 224619912 Test: atest LocationAccessCheckTest Change-Id: I9a1b8903455c2c295f5daef7f89a444cfae6138a
This commit is contained in:
@@ -10584,8 +10584,8 @@ package android.provider {
|
||||
field public static final String HUSH_GESTURE_USED = "hush_gesture_used";
|
||||
field public static final String INSTANT_APPS_ENABLED = "instant_apps_enabled";
|
||||
field public static final String LAST_SETUP_SHOWN = "last_setup_shown";
|
||||
field public static final String LOCATION_ACCESS_CHECK_DELAY_MILLIS = "location_access_check_delay_millis";
|
||||
field public static final String LOCATION_ACCESS_CHECK_INTERVAL_MILLIS = "location_access_check_interval_millis";
|
||||
field @Deprecated public static final String LOCATION_ACCESS_CHECK_DELAY_MILLIS = "location_access_check_delay_millis";
|
||||
field @Deprecated public static final String LOCATION_ACCESS_CHECK_INTERVAL_MILLIS = "location_access_check_interval_millis";
|
||||
field public static final int LOCATION_MODE_ON = 3; // 0x3
|
||||
field @Deprecated public static final String LOCATION_PERMISSIONS_UPGRADE_TO_Q_MODE = "location_permissions_upgrade_to_q_mode";
|
||||
field public static final String LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS = "lock_screen_allow_private_notifications";
|
||||
|
||||
@@ -10375,8 +10375,17 @@ public final class Settings {
|
||||
/**
|
||||
* How often to check for location access.
|
||||
* @hide
|
||||
*
|
||||
* @deprecated This has been moved to DeviceConfig property
|
||||
* {@link LocationAccessCheck#PROPERTY_LOCATION_ACCESS_PERIODIC_INTERVAL_MILLIS} in a T
|
||||
* module update
|
||||
*
|
||||
* Before Android T set this property to control the interval for the check
|
||||
* On Android T set this and the DeviceConfig property
|
||||
* After Android T set the DeviceConfig property
|
||||
*/
|
||||
@SystemApi
|
||||
@Deprecated
|
||||
@Readable
|
||||
public static final String LOCATION_ACCESS_CHECK_INTERVAL_MILLIS =
|
||||
"location_access_check_interval_millis";
|
||||
@@ -10384,8 +10393,17 @@ public final class Settings {
|
||||
/**
|
||||
* Delay between granting location access and checking it.
|
||||
* @hide
|
||||
*
|
||||
* @deprecated This has been moved to DeviceConfig property
|
||||
* {@link LocationAccessCheck#PROPERTY_LOCATION_ACCESS_CHECK_DELAY_MILLIS} in a T module
|
||||
* update
|
||||
*
|
||||
* Before Android T set this property to control the delay for the check
|
||||
* On Android T set this and the DeviceConfig property
|
||||
* After Android T set the DeviceConfig property
|
||||
*/
|
||||
@SystemApi
|
||||
@Deprecated
|
||||
@Readable
|
||||
public static final String LOCATION_ACCESS_CHECK_DELAY_MILLIS =
|
||||
"location_access_check_delay_millis";
|
||||
|
||||
Reference in New Issue
Block a user