Loading core/api/system-current.txt +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2841,7 +2841,7 @@ package android.content.pm { field public static final int PROTECTION_FLAG_APP_PREDICTOR = 2097152; // 0x200000 field public static final int PROTECTION_FLAG_APP_PREDICTOR = 2097152; // 0x200000 field public static final int PROTECTION_FLAG_COMPANION = 8388608; // 0x800000 field public static final int PROTECTION_FLAG_COMPANION = 8388608; // 0x800000 field public static final int PROTECTION_FLAG_CONFIGURATOR = 524288; // 0x80000 field public static final int PROTECTION_FLAG_CONFIGURATOR = 524288; // 0x80000 field public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000 field @Deprecated public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000 field public static final int PROTECTION_FLAG_INCIDENT_REPORT_APPROVER = 1048576; // 0x100000 field public static final int PROTECTION_FLAG_INCIDENT_REPORT_APPROVER = 1048576; // 0x100000 field public static final int PROTECTION_FLAG_KNOWN_SIGNER = 134217728; // 0x8000000 field public static final int PROTECTION_FLAG_KNOWN_SIGNER = 134217728; // 0x8000000 field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000 field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000 core/java/android/content/pm/PermissionInfo.java +2 −4 Original line number Original line Diff line number Diff line Loading @@ -211,6 +211,8 @@ public class PermissionInfo extends PackageItemInfo implements Parcelable { * Additional flag for {@link #protectionLevel}, corresponding to the * Additional flag for {@link #protectionLevel}, corresponding to the * {@code documenter} value of {@link android.R.attr#protectionLevel}. * {@code documenter} value of {@link android.R.attr#protectionLevel}. * * * @deprecated this protectionLevel is obsolete. Permissions previously granted * through this protectionLevel have been migrated to use <code>role</code> instead * @hide * @hide */ */ @SystemApi @SystemApi Loading Loading @@ -309,7 +311,6 @@ public class PermissionInfo extends PackageItemInfo implements Parcelable { PROTECTION_FLAG_OEM, PROTECTION_FLAG_OEM, PROTECTION_FLAG_VENDOR_PRIVILEGED, PROTECTION_FLAG_VENDOR_PRIVILEGED, PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER, PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER, PROTECTION_FLAG_DOCUMENTER, PROTECTION_FLAG_CONFIGURATOR, PROTECTION_FLAG_CONFIGURATOR, PROTECTION_FLAG_INCIDENT_REPORT_APPROVER, PROTECTION_FLAG_INCIDENT_REPORT_APPROVER, PROTECTION_FLAG_APP_PREDICTOR, PROTECTION_FLAG_APP_PREDICTOR, Loading Loading @@ -561,9 +562,6 @@ public class PermissionInfo extends PackageItemInfo implements Parcelable { if ((level & PermissionInfo.PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER) != 0) { if ((level & PermissionInfo.PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER) != 0) { protLevel.append("|textClassifier"); protLevel.append("|textClassifier"); } } if ((level & PermissionInfo.PROTECTION_FLAG_DOCUMENTER) != 0) { protLevel.append("|documenter"); } if ((level & PROTECTION_FLAG_CONFIGURATOR) != 0) { if ((level & PROTECTION_FLAG_CONFIGURATOR) != 0) { protLevel.append("|configurator"); protLevel.append("|configurator"); } } Loading core/res/AndroidManifest.xml +3 −3 Original line number Original line Diff line number Diff line Loading @@ -2588,7 +2588,7 @@ third-party apps. third-party apps. --> --> <permission android:name="android.permission.MANAGE_DOCUMENTS" <permission android:name="android.permission.MANAGE_DOCUMENTS" android:protectionLevel="signature|documenter" /> android:protectionLevel="signature|role" /> <!-- Allows an application to manage access to crates, usually as part <!-- Allows an application to manage access to crates, usually as part of a crates picker. of a crates picker. Loading @@ -2605,7 +2605,7 @@ <p>Not for use by third-party applications. <p>Not for use by third-party applications. --> --> <permission android:name="android.permission.CACHE_CONTENT" <permission android:name="android.permission.CACHE_CONTENT" android:protectionLevel="signature|documenter" /> android:protectionLevel="signature|role" /> <!-- @SystemApi @hide <!-- @SystemApi @hide Allows an application to aggressively allocate disk space. Allows an application to aggressively allocate disk space. Loading Loading @@ -2751,7 +2751,7 @@ <!-- @SystemApi @TestApi @hide Allows an application to change to remove/kill tasks --> <!-- @SystemApi @TestApi @hide Allows an application to change to remove/kill tasks --> <permission android:name="android.permission.REMOVE_TASKS" <permission android:name="android.permission.REMOVE_TASKS" android:protectionLevel="signature|documenter|recents" /> android:protectionLevel="signature|recents|role" /> <!-- @deprecated Use MANAGE_ACTIVITY_TASKS instead. <!-- @deprecated Use MANAGE_ACTIVITY_TASKS instead. @SystemApi @TestApi @hide Allows an application to create/manage/remove stacks --> @SystemApi @TestApi @hide Allows an application to create/manage/remove stacks --> Loading core/res/res/values/attrs_manifest.xml +0 −3 Original line number Original line Diff line number Diff line Loading @@ -285,9 +285,6 @@ <!-- Additional flag from base permission type: this permission can be automatically <!-- Additional flag from base permission type: this permission can be automatically granted to the system default text classifier --> granted to the system default text classifier --> <flag name="textClassifier" value="0x10000" /> <flag name="textClassifier" value="0x10000" /> <!-- Additional flag from base permission type: this permission can be automatically granted to the document manager --> <flag name="documenter" value="0x40000" /> <!-- Additional flag from base permission type: this permission automatically <!-- Additional flag from base permission type: this permission automatically granted to device configurator --> granted to device configurator --> <flag name="configurator" value="0x80000" /> <flag name="configurator" value="0x80000" /> Loading services/core/java/android/content/pm/PackageManagerInternal.java +0 −1 Original line number Original line Diff line number Diff line Loading @@ -70,7 +70,6 @@ public abstract class PackageManagerInternal { PACKAGE_BROWSER, PACKAGE_BROWSER, PACKAGE_SYSTEM_TEXT_CLASSIFIER, PACKAGE_SYSTEM_TEXT_CLASSIFIER, PACKAGE_PERMISSION_CONTROLLER, PACKAGE_PERMISSION_CONTROLLER, PACKAGE_DOCUMENTER, PACKAGE_CONFIGURATOR, PACKAGE_CONFIGURATOR, PACKAGE_INCIDENT_REPORT_APPROVER, PACKAGE_INCIDENT_REPORT_APPROVER, PACKAGE_APP_PREDICTOR, PACKAGE_APP_PREDICTOR, Loading Loading
core/api/system-current.txt +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2841,7 +2841,7 @@ package android.content.pm { field public static final int PROTECTION_FLAG_APP_PREDICTOR = 2097152; // 0x200000 field public static final int PROTECTION_FLAG_APP_PREDICTOR = 2097152; // 0x200000 field public static final int PROTECTION_FLAG_COMPANION = 8388608; // 0x800000 field public static final int PROTECTION_FLAG_COMPANION = 8388608; // 0x800000 field public static final int PROTECTION_FLAG_CONFIGURATOR = 524288; // 0x80000 field public static final int PROTECTION_FLAG_CONFIGURATOR = 524288; // 0x80000 field public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000 field @Deprecated public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000 field public static final int PROTECTION_FLAG_INCIDENT_REPORT_APPROVER = 1048576; // 0x100000 field public static final int PROTECTION_FLAG_INCIDENT_REPORT_APPROVER = 1048576; // 0x100000 field public static final int PROTECTION_FLAG_KNOWN_SIGNER = 134217728; // 0x8000000 field public static final int PROTECTION_FLAG_KNOWN_SIGNER = 134217728; // 0x8000000 field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000 field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000
core/java/android/content/pm/PermissionInfo.java +2 −4 Original line number Original line Diff line number Diff line Loading @@ -211,6 +211,8 @@ public class PermissionInfo extends PackageItemInfo implements Parcelable { * Additional flag for {@link #protectionLevel}, corresponding to the * Additional flag for {@link #protectionLevel}, corresponding to the * {@code documenter} value of {@link android.R.attr#protectionLevel}. * {@code documenter} value of {@link android.R.attr#protectionLevel}. * * * @deprecated this protectionLevel is obsolete. Permissions previously granted * through this protectionLevel have been migrated to use <code>role</code> instead * @hide * @hide */ */ @SystemApi @SystemApi Loading Loading @@ -309,7 +311,6 @@ public class PermissionInfo extends PackageItemInfo implements Parcelable { PROTECTION_FLAG_OEM, PROTECTION_FLAG_OEM, PROTECTION_FLAG_VENDOR_PRIVILEGED, PROTECTION_FLAG_VENDOR_PRIVILEGED, PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER, PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER, PROTECTION_FLAG_DOCUMENTER, PROTECTION_FLAG_CONFIGURATOR, PROTECTION_FLAG_CONFIGURATOR, PROTECTION_FLAG_INCIDENT_REPORT_APPROVER, PROTECTION_FLAG_INCIDENT_REPORT_APPROVER, PROTECTION_FLAG_APP_PREDICTOR, PROTECTION_FLAG_APP_PREDICTOR, Loading Loading @@ -561,9 +562,6 @@ public class PermissionInfo extends PackageItemInfo implements Parcelable { if ((level & PermissionInfo.PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER) != 0) { if ((level & PermissionInfo.PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER) != 0) { protLevel.append("|textClassifier"); protLevel.append("|textClassifier"); } } if ((level & PermissionInfo.PROTECTION_FLAG_DOCUMENTER) != 0) { protLevel.append("|documenter"); } if ((level & PROTECTION_FLAG_CONFIGURATOR) != 0) { if ((level & PROTECTION_FLAG_CONFIGURATOR) != 0) { protLevel.append("|configurator"); protLevel.append("|configurator"); } } Loading
core/res/AndroidManifest.xml +3 −3 Original line number Original line Diff line number Diff line Loading @@ -2588,7 +2588,7 @@ third-party apps. third-party apps. --> --> <permission android:name="android.permission.MANAGE_DOCUMENTS" <permission android:name="android.permission.MANAGE_DOCUMENTS" android:protectionLevel="signature|documenter" /> android:protectionLevel="signature|role" /> <!-- Allows an application to manage access to crates, usually as part <!-- Allows an application to manage access to crates, usually as part of a crates picker. of a crates picker. Loading @@ -2605,7 +2605,7 @@ <p>Not for use by third-party applications. <p>Not for use by third-party applications. --> --> <permission android:name="android.permission.CACHE_CONTENT" <permission android:name="android.permission.CACHE_CONTENT" android:protectionLevel="signature|documenter" /> android:protectionLevel="signature|role" /> <!-- @SystemApi @hide <!-- @SystemApi @hide Allows an application to aggressively allocate disk space. Allows an application to aggressively allocate disk space. Loading Loading @@ -2751,7 +2751,7 @@ <!-- @SystemApi @TestApi @hide Allows an application to change to remove/kill tasks --> <!-- @SystemApi @TestApi @hide Allows an application to change to remove/kill tasks --> <permission android:name="android.permission.REMOVE_TASKS" <permission android:name="android.permission.REMOVE_TASKS" android:protectionLevel="signature|documenter|recents" /> android:protectionLevel="signature|recents|role" /> <!-- @deprecated Use MANAGE_ACTIVITY_TASKS instead. <!-- @deprecated Use MANAGE_ACTIVITY_TASKS instead. @SystemApi @TestApi @hide Allows an application to create/manage/remove stacks --> @SystemApi @TestApi @hide Allows an application to create/manage/remove stacks --> Loading
core/res/res/values/attrs_manifest.xml +0 −3 Original line number Original line Diff line number Diff line Loading @@ -285,9 +285,6 @@ <!-- Additional flag from base permission type: this permission can be automatically <!-- Additional flag from base permission type: this permission can be automatically granted to the system default text classifier --> granted to the system default text classifier --> <flag name="textClassifier" value="0x10000" /> <flag name="textClassifier" value="0x10000" /> <!-- Additional flag from base permission type: this permission can be automatically granted to the document manager --> <flag name="documenter" value="0x40000" /> <!-- Additional flag from base permission type: this permission automatically <!-- Additional flag from base permission type: this permission automatically granted to device configurator --> granted to device configurator --> <flag name="configurator" value="0x80000" /> <flag name="configurator" value="0x80000" /> Loading
services/core/java/android/content/pm/PackageManagerInternal.java +0 −1 Original line number Original line Diff line number Diff line Loading @@ -70,7 +70,6 @@ public abstract class PackageManagerInternal { PACKAGE_BROWSER, PACKAGE_BROWSER, PACKAGE_SYSTEM_TEXT_CLASSIFIER, PACKAGE_SYSTEM_TEXT_CLASSIFIER, PACKAGE_PERMISSION_CONTROLLER, PACKAGE_PERMISSION_CONTROLLER, PACKAGE_DOCUMENTER, PACKAGE_CONFIGURATOR, PACKAGE_CONFIGURATOR, PACKAGE_INCIDENT_REPORT_APPROVER, PACKAGE_INCIDENT_REPORT_APPROVER, PACKAGE_APP_PREDICTOR, PACKAGE_APP_PREDICTOR, Loading