From 67acf672d0d1d293efa319ea3d8ad79625c3c838 Mon Sep 17 00:00:00 2001 From: Raj Garg Date: Sat, 25 Jun 2022 14:11:24 +0000 Subject: [PATCH] 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 --- core/res/AndroidManifest.xml | 2 +- data/etc/com.android.launcher3.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 7787b7c61593d..d83e40cf1d679 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -6100,7 +6100,7 @@ + android:protectionLevel="signature|role|recents" /> diff --git a/data/etc/com.android.launcher3.xml b/data/etc/com.android.launcher3.xml index 36a51341f52d6..5616d1d3c189e 100644 --- a/data/etc/com.android.launcher3.xml +++ b/data/etc/com.android.launcher3.xml @@ -25,5 +25,6 @@ +