The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2008, The Android Open Source Project |
| 6 | ** |
| 7 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | ** you may not use this file except in compliance with the License. |
| 9 | ** You may obtain a copy of the License at |
| 10 | ** |
| 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ** |
| 13 | ** Unless required by applicable law or agreed to in writing, software |
| 14 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | ** See the License for the specific language governing permissions and |
| 17 | ** limitations under the License. |
| 18 | */ |
| 19 | --> |
| 20 | <manifest |
| 21 | xmlns:android="http://schemas.android.com/apk/res/android" |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 22 | package="com.android.launcher3"> |
Sunny Goyal | d297be2 | 2016-05-10 15:35:02 -0700 | [diff] [blame] | 23 | <uses-sdk android:targetSdkVersion="23" android:minSdkVersion="21"/> |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 24 | <!-- |
| 25 | Manifest entries specific to Launcher3. This is merged with AndroidManifest-common.xml. |
| 26 | Refer comments around specific entries on how to extend individual components. |
| 27 | --> |
Jeff Hamilton | 95db737 | 2010-02-11 16:25:50 -0600 | [diff] [blame] | 28 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 29 | <!-- |
| 30 | Permissions required for read/write access to the workspace data. These permission name |
| 31 | should not conflict with that defined in other apps, as such an app should embed its package |
| 32 | name in the permissions. eq com.mypackage.permission.READ_SETTINGS |
| 33 | --> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 34 | <permission |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 35 | android:name="com.android.launcher3.permission.READ_SETTINGS" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 36 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 37 | android:protectionLevel="normal" |
| 38 | android:label="@string/permlab_read_settings" |
| 39 | android:description="@string/permdesc_read_settings"/> |
| 40 | <permission |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 41 | android:name="com.android.launcher3.permission.WRITE_SETTINGS" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 42 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
Winson Chung | c66109c | 2014-02-26 11:50:46 -0800 | [diff] [blame] | 43 | android:protectionLevel="signatureOrSystem" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 44 | android:label="@string/permlab_write_settings" |
| 45 | android:description="@string/permdesc_write_settings"/> |
Daniel Sandler | ff02d49 | 2013-08-05 02:12:05 -0400 | [diff] [blame] | 46 | |
Adam Cohen | e25af79 | 2013-06-06 23:08:25 -0700 | [diff] [blame] | 47 | <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" /> |
| 48 | <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" /> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 49 | <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" /> |
| 50 | <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" /> |
Adam Cohen | 76fc085 | 2011-06-17 13:26:23 -0700 | [diff] [blame] | 51 | |
Sunny Goyal | e0e0e1d | 2016-06-07 13:53:20 -0700 | [diff] [blame] | 52 | <application |
| 53 | android:backupAgent="com.android.launcher3.LauncherBackupAgent" |
| 54 | android:fullBackupOnly="true" |
| 55 | android:fullBackupContent="@xml/backupscheme" |
| 56 | android:hardwareAccelerated="true" |
Hyunyoung Song | 837eb1f | 2017-03-03 11:14:05 -0800 | [diff] [blame] | 57 | android:icon="@drawable/ic_launcher_home" |
Sunny Goyal | 4a4b49f | 2016-08-25 22:21:40 -0700 | [diff] [blame] | 58 | android:label="@string/derived_app_name" |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 59 | android:theme="@style/LauncherTheme" |
Sunny Goyal | e0e0e1d | 2016-06-07 13:53:20 -0700 | [diff] [blame] | 60 | android:largeHeap="@bool/config_largeHeap" |
| 61 | android:restoreAnyVersion="true" |
| 62 | android:supportsRtl="true" > |
Sunny Goyal | 0fc1be1 | 2014-08-11 17:05:23 -0700 | [diff] [blame] | 63 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 64 | <!-- |
| 65 | Main launcher activity. When extending only change the name, and keep all the |
| 66 | attributes and intent filters the same |
| 67 | --> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 68 | <activity |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 69 | android:name="com.android.launcher3.Launcher" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 70 | android:launchMode="singleTask" |
| 71 | android:clearTaskOnLaunch="true" |
| 72 | android:stateNotNeeded="true" |
Ng Zhi An | d772c0a | 2017-09-27 13:03:20 -0700 | [diff] [blame] | 73 | android:windowSoftInputMode="adjustPan" |
Sunny Goyal | 623eddd | 2018-03-02 12:24:41 -0800 | [diff] [blame^] | 74 | android:screenOrientation="unspecified" |
Sunny Goyal | d9bb1b4 | 2015-10-14 11:53:04 -0700 | [diff] [blame] | 75 | android:configChanges="keyboard|keyboardHidden|navigation" |
Jon Miranda | 11f1e4c | 2017-02-27 14:32:39 -0800 | [diff] [blame] | 76 | android:resizeableActivity="true" |
Winson Chung | 761e820 | 2015-06-01 12:38:30 -0700 | [diff] [blame] | 77 | android:resumeWhilePausing="true" |
Adam Cohen | 1c52488 | 2015-06-23 18:06:37 -0700 | [diff] [blame] | 78 | android:taskAffinity="" |
Adam Cohen | c2d6e89 | 2014-10-16 09:49:24 -0700 | [diff] [blame] | 79 | android:enabled="true"> |
| 80 | <intent-filter> |
| 81 | <action android:name="android.intent.action.MAIN" /> |
| 82 | <category android:name="android.intent.category.HOME" /> |
| 83 | <category android:name="android.intent.category.DEFAULT" /> |
| 84 | <category android:name="android.intent.category.MONKEY"/> |
Sunny Goyal | de78882 | 2017-08-30 14:56:54 -0700 | [diff] [blame] | 85 | <category android:name="android.intent.category.LAUNCHER_APP" /> |
Adam Cohen | c2d6e89 | 2014-10-16 09:49:24 -0700 | [diff] [blame] | 86 | </intent-filter> |
| 87 | </activity> |
| 88 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 89 | <!-- |
| 90 | The settings activity. When extending keep the intent filter present |
| 91 | --> |
Adam Cohen | 39a0604 | 2013-07-19 14:30:12 -0700 | [diff] [blame] | 92 | <activity |
Rahul Chaturvedi | 7fc77ca | 2015-05-19 18:02:16 -0700 | [diff] [blame] | 93 | android:name="com.android.launcher3.SettingsActivity" |
| 94 | android:label="@string/settings_button_text" |
Sunny Goyal | 1f3f07d | 2017-02-10 16:52:16 -0800 | [diff] [blame] | 95 | android:theme="@android:style/Theme.DeviceDefault.Settings" |
Sunny Goyal | 745bad9 | 2016-05-02 10:54:12 -0700 | [diff] [blame] | 96 | android:autoRemoveFromRecents="true"> |
| 97 | <intent-filter> |
| 98 | <action android:name="android.intent.action.APPLICATION_PREFERENCES" /> |
| 99 | <category android:name="android.intent.category.DEFAULT" /> |
| 100 | </intent-filter> |
Rahul Chaturvedi | 7fc77ca | 2015-05-19 18:02:16 -0700 | [diff] [blame] | 101 | </activity> |
| 102 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 103 | <!-- |
| 104 | The settings provider contains Home's data, like the workspace favorites. The permissions |
| 105 | should be changed to what is defined above. The authorities should also be changed to |
| 106 | represent the package name. |
| 107 | --> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 108 | <provider |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 109 | android:name="com.android.launcher3.LauncherProvider" |
| 110 | android:authorities="com.android.launcher3.settings" |
Nick Kralevich | ebe6559 | 2012-07-28 16:11:07 -0700 | [diff] [blame] | 111 | android:exported="true" |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 112 | android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS" |
| 113 | android:readPermission="com.android.launcher3.permission.READ_SETTINGS" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 114 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 115 | </application> |
| 116 | </manifest> |