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

Commit 456f7f60 authored by Joanne Chung's avatar Joanne Chung
Browse files

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
Bug: 148921732
Test: atest CtsPermission2TestCases
(cherry picked from commit I12360b5d5ba3c75bb2dfffd86bd6069b75fbdb53)

Change-Id: I2f5fcc055e3e44b70d5958ac3b29272d34ab791a
parent 0ab50898
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4571,12 +4571,12 @@
    <!-- @SystemApi Allows to access all app shortcuts.
         @hide -->
    <permission android:name="android.permission.ACCESS_SHORTCUTS"
        android:protectionLevel="signature|textClassifier" />
        android:protectionLevel="signature|appPredictor" />

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

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