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" 22 package="com.android.launcher3"> 23 <uses-sdk android:targetSdkVersion="23" android:minSdkVersion="21"/> 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 --> 28 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 --> 34 <permission 35 android:name="com.android.launcher3.permission.READ_SETTINGS" 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 41 android:name="com.android.launcher3.permission.WRITE_SETTINGS" 42 android:permissionGroup="android.permission-group.SYSTEM_TOOLS" 43 android:protectionLevel="signatureOrSystem" 44 android:label="@string/permlab_write_settings" 45 android:description="@string/permdesc_write_settings"/> 46 47 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" /> 48 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" /> 49 <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" /> 50 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" /> 51 52 <application 53 android:backupAgent="com.android.launcher3.LauncherBackupAgent" 54 android:fullBackupOnly="true" 55 android:fullBackupContent="@xml/backupscheme" 56 android:hardwareAccelerated="true" 57 android:icon="@drawable/ic_launcher_home" 58 android:label="@string/derived_app_name" 59 android:theme="@style/LauncherTheme" 60 android:largeHeap="@bool/config_largeHeap" 61 android:restoreAnyVersion="true" 62 android:supportsRtl="true" > 63 64 <!-- 65 Main launcher activity. When extending only change the name, and keep all the 66 attributes and intent filters the same 67 --> 68 <activity 69 android:name="com.android.launcher3.Launcher" 70 android:launchMode="singleTask" 71 android:clearTaskOnLaunch="true" 72 android:stateNotNeeded="true" 73 android:windowSoftInputMode="adjustPan" 74 android:screenOrientation="nosensor" 75 android:configChanges="keyboard|keyboardHidden|navigation" 76 android:resizeableActivity="true" 77 android:resumeWhilePausing="true" 78 android:taskAffinity="" 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"/> 85 <category android:name="android.intent.category.LAUNCHER_APP" /> 86 </intent-filter> 87 </activity> 88 89 <!-- 90 The settings activity. When extending keep the intent filter present 91 --> 92 <activity 93 android:name="com.android.launcher3.SettingsActivity" 94 android:label="@string/settings_button_text" 95 android:theme="@android:style/Theme.DeviceDefault.Settings" 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> 101 </activity> 102 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 --> 108 <provider 109 android:name="com.android.launcher3.LauncherProvider" 110 android:authorities="com.android.launcher3.settings" 111 android:exported="true" 112 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS" 113 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" /> 114 115 <!-- ENABLE_FOR_TESTING 116 117 <activity 118 android:name="com.android.launcher3.testing.LauncherExtension" 119 android:launchMode="singleTask" 120 android:clearTaskOnLaunch="true" 121 android:stateNotNeeded="true" 122 android:theme="@style/Theme" 123 android:windowSoftInputMode="adjustPan" 124 android:screenOrientation="nosensor" 125 > 126 <intent-filter> 127 <action android:name="android.intent.action.MAIN" /> 128 <category android:name="android.intent.category.HOME" /> 129 <category android:name="android.intent.category.DEFAULT" /> 130 <category android:name="android.intent.category.MONKEY"/> 131 </intent-filter> 132 </activity> 133 134 <activity 135 android:name="com.android.launcher3.testing.MemoryDumpActivity" 136 android:theme="@android:style/Theme.NoDisplay" 137 android:label="* HPROF" 138 android:excludeFromRecents="true" 139 android:icon="@drawable/ic_launcher_home" 140 > 141 <intent-filter> 142 <action android:name="android.intent.action.MAIN" /> 143 <category android:name="android.intent.category.DEFAULT" /> 144 <category android:name="android.intent.category.LAUNCHER" /> 145 </intent-filter> 146 </activity> 147 148 <activity 149 android:name="com.android.launcher3.testing.ToggleWeightWatcher" 150 android:label="Show Mem" 151 android:icon="@drawable/ic_launcher_home"> 152 <intent-filter> 153 <action android:name="android.intent.action.MAIN" /> 154 <category android:name="android.intent.category.DEFAULT" /> 155 <category android:name="android.intent.category.LAUNCHER" /> 156 </intent-filter> 157 </activity> 158 159 <service android:name="com.android.launcher3.testing.MemoryTracker" /> 160 161 --> 162 163 </application> 164 </manifest> 165