Skip to content

Commit 77e6f5f

Browse files
author
Joanne Chung
committed
Change permissionLevel of ACCESS_SHORTCUTS and UNLIMITED_SHORTCUTS_API_CALLS
ACCESS_SHORTCUTS and UNLIMITED_SHORTCUTS_API_CALLS should be granted to an app predictor rather than a text classifier. Bug: 139523153 Test: atest CtsPermission2TestCases Change-Id: I12360b5d5ba3c75bb2dfffd86bd6069b75fbdb53 (cherry picked from commit b6a7851)
1 parent c1b47d4 commit 77e6f5f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/res/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4467,12 +4467,12 @@
44674467
<!-- @SystemApi Allows to access all app shortcuts.
44684468
@hide -->
44694469
<permission android:name="android.permission.ACCESS_SHORTCUTS"
4470-
android:protectionLevel="signature|textClassifier" />
4470+
android:protectionLevel="signature|appPredictor" />
44714471

44724472
<!-- @SystemApi Allows unlimited calls to shortcut mutation APIs.
44734473
@hide -->
44744474
<permission android:name="android.permission.UNLIMITED_SHORTCUTS_API_CALLS"
4475-
android:protectionLevel="signature|textClassifier" />
4475+
android:protectionLevel="signature|appPredictor" />
44764476

44774477
<!-- @SystemApi Allows an application to read the runtime profiles of other apps.
44784478
@hide <p>Not for use by third-party applications. -->

0 commit comments

Comments
 (0)