Merge "Deprecate no-op flag KEYGUARD_DISABLE_REMOTE_INPUT"

This commit is contained in:
Ayush Sharma
2021-07-08 12:57:04 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 2 deletions

View File

@@ -7455,7 +7455,7 @@ package android.app.admin {
field public static final int KEYGUARD_DISABLE_FEATURES_NONE = 0; // 0x0
field public static final int KEYGUARD_DISABLE_FINGERPRINT = 32; // 0x20
field public static final int KEYGUARD_DISABLE_IRIS = 256; // 0x100
field public static final int KEYGUARD_DISABLE_REMOTE_INPUT = 64; // 0x40
field @Deprecated public static final int KEYGUARD_DISABLE_REMOTE_INPUT = 64; // 0x40
field public static final int KEYGUARD_DISABLE_SECURE_CAMERA = 2; // 0x2
field public static final int KEYGUARD_DISABLE_SECURE_NOTIFICATIONS = 4; // 0x4
field public static final int KEYGUARD_DISABLE_TRUST_AGENTS = 16; // 0x10

View File

@@ -5690,8 +5690,10 @@ public class DevicePolicyManager {
/**
* Disable text entry into notifications on secure keyguard screens (e.g. PIN/Pattern/Password).
* This flag has no effect starting from version {@link android.os.Build.VERSION_CODES#N}
* @deprecated This flag was added in version {@link android.os.Build.VERSION_CODES#N}, but it
* never had any effect.
*/
@Deprecated
public static final int KEYGUARD_DISABLE_REMOTE_INPUT = 1 << 6;
/**