Dela via


UserManager.DisallowConfigDefaultApps Field

Definition

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.

This restriction can be set by device or profile owner.

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.

Applies to