Merge "Deprecate settings secure properties for location access check"

This commit is contained in:
Ganesh Olekar
2022-06-14 17:43:03 +00:00
committed by Android (Google) Code Review
2 changed files with 20 additions and 2 deletions

View File

@@ -10585,8 +10585,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";

View File

@@ -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";