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

Commit a59184b4 authored by Grace Cheng's avatar Grace Cheng Committed by Android (Google) Code Review
Browse files

Merge "Introduces a flag to change the getAdasAllowlist API from hidden to system." into main

parents 6d53025e cde04794
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ package android {
    field @FlaggedApi("android.multiuser.enable_permission_to_access_hidden_profiles") public static final String ACCESS_HIDDEN_PROFILES_FULL = "android.permission.ACCESS_HIDDEN_PROFILES_FULL";
    field public static final String ACCESS_INSTANT_APPS = "android.permission.ACCESS_INSTANT_APPS";
    field @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public static final String ACCESS_LAST_KNOWN_CELL_ID = "android.permission.ACCESS_LAST_KNOWN_CELL_ID";
    field @FlaggedApi("android.location.flags.change_get_adas_allowlist_from_hidden_to_system") public static final String ACCESS_LOCATION_BYPASS_ALLOWLIST = "android.permission.ACCESS_LOCATION_BYPASS_ALLOWLIST";
    field public static final String ACCESS_LOCUS_ID_USAGE_STATS = "android.permission.ACCESS_LOCUS_ID_USAGE_STATS";
    field public static final String ACCESS_MOCK_LOCATION = "android.permission.ACCESS_MOCK_LOCATION";
    field public static final String ACCESS_MTP = "android.permission.ACCESS_MTP";
+8 −0
Original line number Diff line number Diff line
@@ -2184,6 +2184,14 @@
        android:featureFlag="android.location.flags.population_density_provider"
        android:protectionLevel="signature" />

    <!-- @SystemApi @hide Allows an application to access location bypass allowlist.
         <p>Not for use by third-party applications.
         @FlaggedApi(android.location.flags.Flags.FLAG_CHANGE_GET_ADAS_ALLOWLIST_FROM_HIDDEN_TO_SYSTEM)
    -->
    <permission android:name="android.permission.ACCESS_LOCATION_BYPASS_ALLOWLIST"
        android:protectionLevel="signature|privileged"
        android:featureFlag="android.location.flags.change_get_adas_allowlist_from_hidden_to_system" />

    <!-- ======================================= -->
    <!-- Permissions for accessing networks -->
    <!-- ======================================= -->
+8 −1
Original line number Diff line number Diff line
@@ -188,10 +188,17 @@ flag {
    bug: "403337028"
}


flag {
    name: "location_indicators_enabled"
    namespace: "location"
    description: "Enables modified location privacy item behavior"
    bug: "419834493"
}

flag {
    name: "change_get_adas_allowlist_from_hidden_to_system"
    namespace: "location"
    description: "Changes the getAdasAllowlist API from hidden to system"
    bug: "362287534"
    is_exported: true
}
 No newline at end of file