Merge "RESTRICT AUTOMERGE Add a hidden KEYGUARD_DISABLE_SHORTCUTS_ALL constant to DevicePolicyManager" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
103b7b4818
@@ -6637,6 +6637,13 @@ public class DevicePolicyManager {
|
|||||||
*/
|
*/
|
||||||
public static final int KEYGUARD_DISABLE_IRIS = 1 << 8;
|
public static final int KEYGUARD_DISABLE_IRIS = 1 << 8;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Disable all keyguard shortcuts.
|
||||||
|
*
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final int KEYGUARD_DISABLE_SHORTCUTS_ALL = 1 << 9;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: Please remember to update the DevicePolicyManagerTest's testKeyguardDisabledFeatures
|
* NOTE: Please remember to update the DevicePolicyManagerTest's testKeyguardDisabledFeatures
|
||||||
* CTS test when adding to the list above.
|
* CTS test when adding to the list above.
|
||||||
@@ -6680,7 +6687,8 @@ public class DevicePolicyManager {
|
|||||||
*/
|
*/
|
||||||
public static final int ORG_OWNED_PROFILE_KEYGUARD_FEATURES_PARENT_ONLY =
|
public static final int ORG_OWNED_PROFILE_KEYGUARD_FEATURES_PARENT_ONLY =
|
||||||
DevicePolicyManager.KEYGUARD_DISABLE_SECURE_CAMERA
|
DevicePolicyManager.KEYGUARD_DISABLE_SECURE_CAMERA
|
||||||
| DevicePolicyManager.KEYGUARD_DISABLE_SECURE_NOTIFICATIONS;
|
| DevicePolicyManager.KEYGUARD_DISABLE_SECURE_NOTIFICATIONS
|
||||||
|
| DevicePolicyManager.KEYGUARD_DISABLE_SHORTCUTS_ALL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Keyguard features that when set on a normal or organization-owned managed profile, have
|
* Keyguard features that when set on a normal or organization-owned managed profile, have
|
||||||
|
|||||||
Reference in New Issue
Block a user