Language

Manifest.Permission.LockApps Field

Definition

Permission granted to apps holding the RoleManager.ROLE_HOME role that allows them to enable app lock.

[Android.Runtime.Register("LOCK_APPS", ApiSince=37)]
public const string LockApps;
[<Android.Runtime.Register("LOCK_APPS", ApiSince=37)>]
val mutable LockApps : string

Field Value

Attributes

Remarks

Permission granted to apps holding the RoleManager.ROLE_HOME role that allows them to enable app lock. This is also granted to the recents component, which is typically the system launcher, to ensure a consistent user experience. App Lock is a feature that allows users to require authentication before opening apps.

See PackageManager.getEnableAppLockIntentForPackage(String, boolean) and PackageManager.GET_APP_LOCK_INFO for more information about App Lock.

Protection level: internal|role|recents

Android reference for android.Manifest.permission.LOCK_APPS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to