Revert "Update READ_CLIPBOARD_IN_BACKGROUND to be grantable via ..."

Revert "Add READ_CLIPBOARD_IN_BACKGROUND to the SYSTEM_TEXT_INTE..."

Revert "Update CTS for the READ_CLIPBOARD_IN_BACKGROUND permission"

Revert submission 17145144-cc-clipboard-permission

Reason for revert: Breaks UnbundledChooserActivityTest#copyTextToClipboard
Reverted Changes:
I6f3fbe3fe:Update CTS for the READ_CLIPBOARD_IN_BACKGROUND pe...
Icba3763e6:Add READ_CLIPBOARD_IN_BACKGROUND to the SYSTEM_TEX...
I68abf8c20:Update READ_CLIPBOARD_IN_BACKGROUND to be grantabl...

Bug: 224845036
Change-Id: I5d646865488a00aaeb393dd57ac19cc98b1e2bce
This commit is contained in:
Jared Duke
2022-03-15 21:46:23 +00:00
parent 370fae65d8
commit 1f8d70589b
2 changed files with 3 additions and 4 deletions

View File

@@ -242,7 +242,6 @@ package android {
field public static final String READ_APP_SPECIFIC_LOCALES = "android.permission.READ_APP_SPECIFIC_LOCALES";
field public static final String READ_CARRIER_APP_INFO = "android.permission.READ_CARRIER_APP_INFO";
field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS";
field public static final String READ_CLIPBOARD_IN_BACKGROUND = "android.permission.READ_CLIPBOARD_IN_BACKGROUND";
field public static final String READ_CONTENT_RATING_SYSTEMS = "android.permission.READ_CONTENT_RATING_SYSTEMS";
field public static final String READ_DEVICE_CONFIG = "android.permission.READ_DEVICE_CONFIG";
field public static final String READ_DREAM_STATE = "android.permission.READ_DREAM_STATE";

View File

@@ -6026,10 +6026,10 @@
<permission android:name="android.permission.MANAGE_APPOPS"
android:protectionLevel="signature" />
<!-- @SystemApi Permission that allows background clipboard access.
@hide Not for use by third-party applications. -->
<!-- @hide Permission that allows background clipboard access.
<p>Not for use by third-party applications. -->
<permission android:name="android.permission.READ_CLIPBOARD_IN_BACKGROUND"
android:protectionLevel="internal|role" />
android:protectionLevel="signature" />
<!-- @hide Permission that suppresses the notification when the clipboard is accessed.
<p>Not for use by third-party applications. -->
<permission android:name="android.permission.SUPPRESS_CLIPBOARD_ACCESS_NOTIFICATION"