UserManager.DisallowConfigDefaultApps Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether the user is allowed to modify default apps in settings.
[Android.Runtime.Register("DISALLOW_CONFIG_DEFAULT_APPS", ApiSince=34)]
public const string DisallowConfigDefaultApps;
[<Android.Runtime.Register("DISALLOW_CONFIG_DEFAULT_APPS", ApiSince=34)>]
val mutable DisallowConfigDefaultApps : string
Field Value
- Attributes
Remarks
Specifies whether the user is allowed to modify default apps in settings.
A device owner and a profile owner can set this restriction. When it is set by a device owner, it applies globally - i.e., modifying of default apps in Settings for all users is disallowed. When it is set by a profile owner on the primary user or by a profile owner of an organization-owned managed profile on the parent profile, modifying of default apps in Settings for the primary user is disallowed.
The default value is false
.
Key for user restrictions.
Type: Boolean
Java documentation for android.os.UserManager.DISALLOW_CONFIG_DEFAULT_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.