PackageManager.FlagPermissionWhitelistUpgrade Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.PM.FlagPermission enum directly instead of this field.

Permission whitelist flag: permissions whitelisted by the system when upgrading from an OS version where the permission was not restricted to an OS version where the permission is restricted.

[Android.Runtime.Register("FLAG_PERMISSION_WHITELIST_UPGRADE", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.FlagPermission enum directly instead of this field.", true)]
public const Android.Content.PM.FlagPermission FlagPermissionWhitelistUpgrade = 4;
[<Android.Runtime.Register("FLAG_PERMISSION_WHITELIST_UPGRADE", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.FlagPermission enum directly instead of this field.", true)>]
val mutable FlagPermissionWhitelistUpgrade : Android.Content.PM.FlagPermission

Field Value

Value = 4
Attributes

Remarks

Permission whitelist flag: permissions whitelisted by the system when upgrading from an OS version where the permission was not restricted to an OS version where the permission is restricted. Permissions can also be whitelisted by the installer, the system, or on role grant.

<strong>Note: </strong>In retrospect it would have been preferred to use more inclusive terminology when naming this API. Similar APIs added will refrain from using the term "whitelist".

Java documentation for android.content.pm.PackageManager.FLAG_PERMISSION_WHITELIST_UPGRADE.

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