Loading core/api/current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -36410,7 +36410,6 @@ package android.provider { field public static final String ACTION_MANAGE_ALL_SIM_PROFILES_SETTINGS = "android.settings.MANAGE_ALL_SIM_PROFILES_SETTINGS"; field public static final String ACTION_MANAGE_APPLICATIONS_SETTINGS = "android.settings.MANAGE_APPLICATIONS_SETTINGS"; field public static final String ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION = "android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION"; field public static final String ACTION_MANAGE_APP_LONG_RUNNING_JOBS = "android.settings.MANAGE_APP_LONG_RUNNING_JOBS"; field public static final String ACTION_MANAGE_DEFAULT_APPS_SETTINGS = "android.settings.MANAGE_DEFAULT_APPS_SETTINGS"; field public static final String ACTION_MANAGE_OVERLAY_PERMISSION = "android.settings.action.MANAGE_OVERLAY_PERMISSION"; field public static final String ACTION_MANAGE_SUPERVISOR_RESTRICTED_SETTING = "android.settings.MANAGE_SUPERVISOR_RESTRICTED_SETTING"; core/java/android/app/AppOpsManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -2489,7 +2489,7 @@ public class AppOpsManager { "RECEIVE_EXPLICIT_USER_INTERACTION_AUDIO").setDefaultMode( AppOpsManager.MODE_ALLOWED).build(), new AppOpInfo.Builder(OP_RUN_LONG_JOBS, OPSTR_RUN_LONG_JOBS, "RUN_LONG_JOBS") .setPermission(Manifest.permission.RUN_LONG_JOBS).build(), .setDefaultMode(AppOpsManager.MODE_ALLOWED).build(), new AppOpInfo.Builder(OP_READ_MEDIA_VISUAL_USER_SELECTED, OPSTR_READ_MEDIA_VISUAL_USER_SELECTED, "READ_MEDIA_VISUAL_USER_SELECTED") .setPermission(Manifest.permission.READ_MEDIA_VISUAL_USER_SELECTED) Loading core/java/android/provider/Settings.java +2 −0 Original line number Diff line number Diff line Loading @@ -603,6 +603,8 @@ public final class Settings { * Output: When a package data uri is passed as input, the activity result is set to * {@link android.app.Activity#RESULT_OK} if the permission was granted to the app. Otherwise, * the result is set to {@link android.app.Activity#RESULT_CANCELED}. * * @hide */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_MANAGE_APP_LONG_RUNNING_JOBS = Loading core/res/AndroidManifest.xml +4 −6 Original line number Diff line number Diff line Loading @@ -6994,14 +6994,12 @@ <permission android:name="android.permission.MANAGE_WEARABLE_SENSING_SERVICE" android:protectionLevel="signature|privileged" /> <!-- Allows applications to use the long running jobs APIs. <p>This is a special access permission that can be revoked by the system or the user. <p>Apps need to target API {@link android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE} or above to be able to request this permission. <p>Protection level: appop <!-- Allows applications to use the long running jobs APIs. For more details see {@link android.app.job.JobInfo.Builder#setUserInitiated}. <p>Protection level: normal --> <permission android:name="android.permission.RUN_LONG_JOBS" android:protectionLevel="normal|appop"/> android:protectionLevel="normal"/> <!-- Allows an app access to the installer provided app metadata. @SystemApi Loading Loading
core/api/current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -36410,7 +36410,6 @@ package android.provider { field public static final String ACTION_MANAGE_ALL_SIM_PROFILES_SETTINGS = "android.settings.MANAGE_ALL_SIM_PROFILES_SETTINGS"; field public static final String ACTION_MANAGE_APPLICATIONS_SETTINGS = "android.settings.MANAGE_APPLICATIONS_SETTINGS"; field public static final String ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION = "android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION"; field public static final String ACTION_MANAGE_APP_LONG_RUNNING_JOBS = "android.settings.MANAGE_APP_LONG_RUNNING_JOBS"; field public static final String ACTION_MANAGE_DEFAULT_APPS_SETTINGS = "android.settings.MANAGE_DEFAULT_APPS_SETTINGS"; field public static final String ACTION_MANAGE_OVERLAY_PERMISSION = "android.settings.action.MANAGE_OVERLAY_PERMISSION"; field public static final String ACTION_MANAGE_SUPERVISOR_RESTRICTED_SETTING = "android.settings.MANAGE_SUPERVISOR_RESTRICTED_SETTING";
core/java/android/app/AppOpsManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -2489,7 +2489,7 @@ public class AppOpsManager { "RECEIVE_EXPLICIT_USER_INTERACTION_AUDIO").setDefaultMode( AppOpsManager.MODE_ALLOWED).build(), new AppOpInfo.Builder(OP_RUN_LONG_JOBS, OPSTR_RUN_LONG_JOBS, "RUN_LONG_JOBS") .setPermission(Manifest.permission.RUN_LONG_JOBS).build(), .setDefaultMode(AppOpsManager.MODE_ALLOWED).build(), new AppOpInfo.Builder(OP_READ_MEDIA_VISUAL_USER_SELECTED, OPSTR_READ_MEDIA_VISUAL_USER_SELECTED, "READ_MEDIA_VISUAL_USER_SELECTED") .setPermission(Manifest.permission.READ_MEDIA_VISUAL_USER_SELECTED) Loading
core/java/android/provider/Settings.java +2 −0 Original line number Diff line number Diff line Loading @@ -603,6 +603,8 @@ public final class Settings { * Output: When a package data uri is passed as input, the activity result is set to * {@link android.app.Activity#RESULT_OK} if the permission was granted to the app. Otherwise, * the result is set to {@link android.app.Activity#RESULT_CANCELED}. * * @hide */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_MANAGE_APP_LONG_RUNNING_JOBS = Loading
core/res/AndroidManifest.xml +4 −6 Original line number Diff line number Diff line Loading @@ -6994,14 +6994,12 @@ <permission android:name="android.permission.MANAGE_WEARABLE_SENSING_SERVICE" android:protectionLevel="signature|privileged" /> <!-- Allows applications to use the long running jobs APIs. <p>This is a special access permission that can be revoked by the system or the user. <p>Apps need to target API {@link android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE} or above to be able to request this permission. <p>Protection level: appop <!-- Allows applications to use the long running jobs APIs. For more details see {@link android.app.job.JobInfo.Builder#setUserInitiated}. <p>Protection level: normal --> <permission android:name="android.permission.RUN_LONG_JOBS" android:protectionLevel="normal|appop"/> android:protectionLevel="normal"/> <!-- Allows an app access to the installer provided app metadata. @SystemApi Loading