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
This commit is contained in:
committed by
Brian Isganitis
parent
25f934011d
commit
67acf672d0
@@ -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 -->
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user