diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-06-27 15:47:49 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-07-02 11:16:04 -0700 |
commit | 7f920b8d5ed41375641cc991a037499443dc9098 (patch) | |
tree | 7e61f78359542d81d0f85ab1bffe4d7bf611b84a /AndroidManifest.xml | |
parent | 132bfb8a1f3d7697b98b9c1813f8fe2ddbfb5b36 (diff) | |
download | android_packages_apps_Trebuchet-7f920b8d5ed41375641cc991a037499443dc9098.tar.gz android_packages_apps_Trebuchet-7f920b8d5ed41375641cc991a037499443dc9098.tar.bz2 android_packages_apps_Trebuchet-7f920b8d5ed41375641cc991a037499443dc9098.zip |
Cleaning up build rules to simplify customizing derivative projects
> Using {packageName} instead of hardcoding com.android.launcher3 in AndroidManifest.xml
for strings which are dependent on packageName
> Adding proguard rule to prevent obfuscating any overridable class
> Making it easier to extend SettingsActivity by overriding the fragment class
Change-Id: I5668c3f33b4cf20ad01d7f54b3d79cc0d268d391
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 3212980a0..4ac51ab78 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -26,29 +26,6 @@ Refer comments around specific entries on how to extend individual components. --> - <!-- - Permissions required for read/write access to the workspace data. These permission name - should not conflict with that defined in other apps, as such an app should embed its package - name in the permissions. eq com.mypackage.permission.READ_SETTINGS - --> - <permission - android:name="com.android.launcher3.permission.READ_SETTINGS" - android:permissionGroup="android.permission-group.SYSTEM_TOOLS" - android:protectionLevel="signatureOrSystem" - android:label="@string/permlab_read_settings" - android:description="@string/permdesc_read_settings"/> - <permission - android:name="com.android.launcher3.permission.WRITE_SETTINGS" - android:permissionGroup="android.permission-group.SYSTEM_TOOLS" - android:protectionLevel="signatureOrSystem" - android:label="@string/permlab_write_settings" - android:description="@string/permdesc_write_settings"/> - - <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" /> - <application android:backupAgent="com.android.launcher3.LauncherBackupAgent" android:fullBackupOnly="true" @@ -86,31 +63,5 @@ </intent-filter> </activity> - <!-- - The settings activity. When extending keep the intent filter present - --> - <activity - android:name="com.android.launcher3.SettingsActivity" - android:label="@string/settings_button_text" - android:theme="@android:style/Theme.DeviceDefault.Settings" - android:autoRemoveFromRecents="true"> - <intent-filter> - <action android:name="android.intent.action.APPLICATION_PREFERENCES" /> - <category android:name="android.intent.category.DEFAULT" /> - </intent-filter> - </activity> - - <!-- - The settings provider contains Home's data, like the workspace favorites. The permissions - should be changed to what is defined above. The authorities should also be changed to - represent the package name. - --> - <provider - 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" /> - </application> </manifest> |