PermissionInfo

Class of android.content.pm · PermissionInfo.java · Android's reference

public class PermissionInfo extends PackageItemInfo

PermissionInfo ← PackageItemInfo

A permission.

Fields

public static final int PROTECTION_NORMAL = 0 source
public static final int PROTECTION_DANGEROUS = 1 source
public static final int PROTECTION_SIGNATURE = 2 source
public int protectionLevel source
public String group source
public static final int PROTECTION_MASK_BASE = 0xf source
public static final int PROTECTION_MASK_FLAGS = 0xfff0 source

Methods

public int getProtection() source
public int getProtectionFlags() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.