Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a081fd75 authored by Guojing Yuan's avatar Guojing Yuan Committed by Android (Google) Code Review
Browse files

Merge "[Location Accuracy] Add a new flag for location permissions." into sc-dev

parents 6d913ca6 b5798a37
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+9 −0
Original line number Diff line number Diff line
@@ -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