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

Commit 67acf672 authored by Raj Garg's avatar Raj Garg Committed by Brian Isganitis
Browse files

Adding permissions for pinning shortcuts.

While pinning shortcuts in DefaultLayoutParser.java a check was failed
showing that our launcher LauncherIndiaGoogle or any 3P launcher
doesn't has access to shortcuts. Adding the permissions to pass the
check.

Test: Tested locally on device.
Bug: 227290255, 259601472
Change-Id: I48ce49775b7005d20ae15b9487f4b0eed64d30a0
parent 25f93401
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6100,7 +6100,7 @@
    <!-- @SystemApi Allows to access all app shortcuts.
         @hide -->
    <permission android:name="android.permission.ACCESS_SHORTCUTS"
        android:protectionLevel="signature|role" />
        android:protectionLevel="signature|role|recents" />

    <!-- @SystemApi Allows unlimited calls to shortcut mutation APIs.
         @hide -->
+1 −0
Original line number Diff line number Diff line
@@ -25,5 +25,6 @@
        <permission name="android.permission.START_TASKS_FROM_RECENTS"/>
        <permission name="android.permission.STATUS_BAR"/>
        <permission name="android.permission.STOP_APP_SWITCHES"/>
        <permission name="android.permission.ACCESS_SHORTCUTS"/>
    </privapp-permissions>
</permissions>