Class of android.content.pm · PermissionInfo.java · Android's reference
public class PermissionInfo extends PackageItemInfo
PermissionInfo ← PackageItemInfo
A permission.
public static final int PROTECTION_NORMAL = 0 sourcepublic static final int PROTECTION_DANGEROUS = 1 sourcepublic static final int PROTECTION_SIGNATURE = 2 sourcepublic int protectionLevel sourcepublic String group sourcepublic static final int PROTECTION_MASK_BASE = 0xf sourcepublic static final int PROTECTION_MASK_FLAGS = 0xfff0 sourcepublic int getProtection() sourcepublic int getProtectionFlags() sourceMade 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.