Language

FlagPermission Enum

Definition

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum FlagPermission
[<System.Flags>]
type FlagPermission = 
Inheritance
FlagPermission
Attributes

Fields

Name Value Description
WhitelistSystem 1

Permission whitelist flag: permissions whitelisted by the system. Permissions can also be whitelisted by the installer, on upgrade, or on role grant. Note: 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".

Android reference for android.content.pm.PackageManager.FLAG_PERMISSION_WHITELIST_SYSTEM.

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.

WhitelistInstaller 2

Permission whitelist flag: permissions whitelisted by the installer. Permissions can also be whitelisted by the system, on upgrade, or on role grant. Note: 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".

Android reference for android.content.pm.PackageManager.FLAG_PERMISSION_WHITELIST_INSTALLER.

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.

WhitelistUpgrade 4

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. Note: 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".

Android reference 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