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

Commit 7db00aec authored by Ganesh Olekar's avatar Ganesh Olekar Committed by Android (Google) Code Review
Browse files

Merge "Deprecate settings secure properties for location access check"

parents eff8acaa 2b53d01a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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";
+18 −0
Original line number Diff line number Diff line
@@ -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";