Merge "[Location Accuracy] Add a new flag for location permissions." into sc-dev
This commit is contained in:
@@ -2370,6 +2370,7 @@ package android.content.pm {
|
||||
field public static final int FLAG_PERMISSION_REVIEW_REQUIRED = 64; // 0x40
|
||||
field public static final int FLAG_PERMISSION_REVOKED_COMPAT = 8; // 0x8
|
||||
field @Deprecated public static final int FLAG_PERMISSION_REVOKE_ON_UPGRADE = 8; // 0x8
|
||||
field public static final int FLAG_PERMISSION_SELECTED_LOCATION_ACCURACY = 524288; // 0x80000
|
||||
field public static final int FLAG_PERMISSION_SYSTEM_FIXED = 16; // 0x10
|
||||
field public static final int FLAG_PERMISSION_USER_FIXED = 2; // 0x2
|
||||
field public static final int FLAG_PERMISSION_USER_SENSITIVE_WHEN_DENIED = 512; // 0x200
|
||||
|
||||
@@ -3970,6 +3970,15 @@ public abstract class PackageManager {
|
||||
@SystemApi
|
||||
public static final int FLAG_PERMISSION_RESTRICTION_ROLE_EXEMPT = 1 << 18;
|
||||
|
||||
/**
|
||||
* Permission flag: This location permission is selected as the level of granularity of
|
||||
* location accuracy.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public static final int FLAG_PERMISSION_SELECTED_LOCATION_ACCURACY = 1 << 19;
|
||||
|
||||
/**
|
||||
* Permission flags: Reserved for use by the permission controller. The platform and any
|
||||
* packages besides the permission controller should not assume any definition about these
|
||||
|
||||
Reference in New Issue
Block a user