Make PermissionInfo.PROTECTION_FLAG_OEM @TestApi
So it can be used in CTS. Bug: 110956953 Test: atest PermissionPolicyTest#testPlatformPermissionPolicyUnaltered Change-Id: I1682376845dfa390f01b0e869444c307e6c3d3be
This commit is contained in:
@@ -421,6 +421,7 @@ package android.content.pm {
|
||||
|
||||
public class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
|
||||
field public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000
|
||||
field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000
|
||||
field public static final int PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER = 65536; // 0x10000
|
||||
field public static final int PROTECTION_FLAG_VENDOR_PRIVILEGED = 32768; // 0x8000
|
||||
field public static final int PROTECTION_FLAG_WELLBEING = 131072; // 0x20000
|
||||
|
||||
@@ -158,6 +158,7 @@ public class PermissionInfo extends PackageItemInfo implements Parcelable {
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
public static final int PROTECTION_FLAG_OEM = 0x4000;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user