summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@gmail.com>2017-04-27 16:56:42 (GMT)
committerMichael Bestas <mikeioannina@gmail.com>2017-04-27 16:57:22 (GMT)
commit2fa3fcf4941d630de6c43ed7ef5360a1411ba1ca (patch)
tree354aeb56194ac22f539cfe653ec0b8e32e6124d2
parent3fa7c752c1c3a4dae581023bfa806a9f9070bcf5 (diff)
downloadandroid_packages_apps_Trebuchet-2fa3fcf4941d630de6c43ed7ef5360a1411ba1ca.zip
android_packages_apps_Trebuchet-2fa3fcf4941d630de6c43ed7ef5360a1411ba1ca.tar.gz
android_packages_apps_Trebuchet-2fa3fcf4941d630de6c43ed7ef5360a1411ba1ca.tar.bz2
Rename permissions as suggested in AndroidManifeststaging/cm-14.1-aosprebase
* Avoid conflicts with different launchers Change-Id: I0560c2ea1a82cb4f58074d31ca6f12518ac09ea7
-rw-r--r--AndroidManifest-common.xml4
-rw-r--r--AndroidManifest.xml12
2 files changed, 8 insertions, 8 deletions
diff --git a/AndroidManifest-common.xml b/AndroidManifest-common.xml
index bbe1f4a..9dc4291 100644
--- a/AndroidManifest-common.xml
+++ b/AndroidManifest-common.xml
@@ -31,7 +31,7 @@
with some minor changed based on the derivative app.
-->
<permission
- android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
+ android:name="org.lineageos.trebuchet.permission.INSTALL_SHORTCUT"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="dangerous"
android:label="@string/permlab_install_shortcut"
@@ -58,7 +58,7 @@
<!-- Intent received used to install shortcuts from other applications -->
<receiver
android:name="com.android.launcher3.InstallShortcutReceiver"
- android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
+ android:permission="org.lineageos.trebuchet.permission.INSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
</intent-filter>
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 211d592..65bc0e5 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -35,13 +35,13 @@
name in the permissions. eq com.mypackage.permission.READ_SETTINGS
-->
<permission
- android:name="com.android.launcher3.permission.READ_SETTINGS"
+ android:name="org.lineageos.trebuchet.permission.READ_SETTINGS"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="normal"
android:label="@string/permlab_read_settings"
android:description="@string/permdesc_read_settings"/>
<permission
- android:name="com.android.launcher3.permission.WRITE_SETTINGS"
+ android:name="org.lineageos.trebuchet.permission.WRITE_SETTINGS"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="signatureOrSystem"
android:label="@string/permlab_write_settings"
@@ -49,8 +49,8 @@
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
- <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
- <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
+ <uses-permission android:name="org.lineageos.trebuchet.permission.READ_SETTINGS" />
+ <uses-permission android:name="org.lineageos.trebuchet.permission.WRITE_SETTINGS" />
<application
android:backupAgent="com.android.launcher3.LauncherBackupAgent"
@@ -109,8 +109,8 @@
android:name="com.android.launcher3.LauncherProvider"
android:authorities="com.android.launcher3.settings"
android:exported="true"
- android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
- android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
+ android:writePermission="org.lineageos.trebuchet.permission.WRITE_SETTINGS"
+ android:readPermission="org.lineageos.trebuchet.permission.READ_SETTINGS" />
<!-- ENABLE_FOR_TESTING