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

Commit f8c229db authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan
Browse files

[ECM] Make ACCESS_RESTRICTED_SETTINGS SystemApi

Make the following symbol SystemApi:

- AppOpsManager.OPSTR_ACCESS_RESTRICTED_SETTINGS

These will both need to be accessed from the Permission module
V+, so will need to be SystemApi.

This change is for the Enhanced Confirmation Mode updates for V project.

Bug: 310655061
Test: manual
Change-Id: Ia093aa3dc3f10c3c91e9f196d2f8dea94bab3099
parent b85885d7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -621,6 +621,7 @@ package android.app {
    field public static final String OPSTR_ACCEPT_HANDOVER = "android:accept_handover";
    field public static final String OPSTR_ACCESS_ACCESSIBILITY = "android:access_accessibility";
    field public static final String OPSTR_ACCESS_NOTIFICATIONS = "android:access_notifications";
    field @FlaggedApi("android.permission.flags.enhanced_confirmation_mode_apis_enabled") public static final String OPSTR_ACCESS_RESTRICTED_SETTINGS = "android:access_restricted_settings";
    field public static final String OPSTR_ACTIVATE_PLATFORM_VPN = "android:activate_platform_vpn";
    field public static final String OPSTR_ACTIVATE_VPN = "android:activate_vpn";
    field public static final String OPSTR_ASSIST_SCREENSHOT = "android:assist_screenshot";
+2 −0
Original line number Diff line number Diff line
@@ -2180,6 +2180,8 @@ public class AppOpsManager {
     *
     * @hide
     */
    @FlaggedApi(android.permission.flags.Flags.FLAG_ENHANCED_CONFIRMATION_MODE_APIS_ENABLED)
    @SystemApi
    public static final String OPSTR_ACCESS_RESTRICTED_SETTINGS =
            "android:access_restricted_settings";