AndroidManifest.xml revision e9909f58c2b235f8066295c4faa6a00415968ae7
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="21" android:minSdkVersion="16"/> 24 25 <permission 26 android:name="com.android.launcher.permission.INSTALL_SHORTCUT" 27 android:permissionGroup="android.permission-group.SYSTEM_TOOLS" 28 android:protectionLevel="dangerous" 29 android:label="@string/permlab_install_shortcut" 30 android:description="@string/permdesc_install_shortcut" /> 31 <permission 32 android:name="com.android.launcher3.permission.READ_SETTINGS" 33 android:permissionGroup="android.permission-group.SYSTEM_TOOLS" 34 android:protectionLevel="normal" 35 android:label="@string/permlab_read_settings" 36 android:description="@string/permdesc_read_settings"/> 37 <permission 38 android:name="com.android.launcher3.permission.WRITE_SETTINGS" 39 android:permissionGroup="android.permission-group.SYSTEM_TOOLS" 40 android:protectionLevel="signatureOrSystem" 41 android:label="@string/permlab_write_settings" 42 android:description="@string/permdesc_write_settings"/> 43 <permission 44 android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" 45 android:protectionLevel="signature" 46 /> 47 <permission 48 android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST" 49 android:protectionLevel="signatureOrSystem" /> 50 51 <uses-permission android:name="android.permission.CALL_PHONE" /> 52 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 53 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> 54 <uses-permission android:name="android.permission.VIBRATE" /> 55 <uses-permission android:name="android.permission.BIND_APPWIDGET" /> 56 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 57 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> 58 <uses-permission android:name="android.permission.BROADCAST_STICKY"/> 59 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 60 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" /> 61 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" /> 62 <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" /> 63 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" /> 64 <uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" /> 65 <uses-permission android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST" /> 66 67 <application 68 android:name="com.android.launcher3.LauncherApplication" 69 android:allowBackup="@bool/enable_backup" 70 android:backupAgent="com.android.launcher3.LauncherBackupAgentHelper" 71 android:hardwareAccelerated="true" 72 android:icon="@mipmap/ic_launcher_home" 73 android:label="@string/application_name" 74 android:largeHeap="@bool/config_largeHeap" 75 android:restoreAnyVersion="true" 76 android:supportsRtl="true" > 77 78 <activity 79 android:name="com.android.launcher3.Launcher" 80 android:launchMode="singleTask" 81 android:clearTaskOnLaunch="true" 82 android:stateNotNeeded="true" 83 android:theme="@style/Theme" 84 android:windowSoftInputMode="adjustPan" 85 android:screenOrientation="nosensor" 86 android:enabled="true"> 87 <intent-filter> 88 <action android:name="android.intent.action.MAIN" /> 89 <category android:name="android.intent.category.HOME" /> 90 <category android:name="android.intent.category.DEFAULT" /> 91 <category android:name="android.intent.category.MONKEY"/> 92 </intent-filter> 93 </activity> 94 95 <activity 96 android:name="com.android.launcher3.LauncherExtension" 97 android:launchMode="singleTask" 98 android:clearTaskOnLaunch="true" 99 android:stateNotNeeded="true" 100 android:theme="@style/Theme" 101 android:windowSoftInputMode="adjustPan" 102 android:screenOrientation="nosensor" 103 android:enabled="false"> 104 <intent-filter> 105 <action android:name="android.intent.action.MAIN" /> 106 <category android:name="android.intent.category.HOME" /> 107 <category android:name="android.intent.category.DEFAULT" /> 108 <category android:name="android.intent.category.MONKEY"/> 109 </intent-filter> 110 </activity> 111 112 <activity 113 android:name="com.android.launcher3.ToggleWeightWatcher" 114 android:label="@string/toggle_weight_watcher" 115 android:enabled="@bool/debug_memory_enabled" 116 android:icon="@mipmap/ic_launcher_home"> 117 <intent-filter> 118 <action android:name="android.intent.action.MAIN" /> 119 <category android:name="android.intent.category.DEFAULT" /> 120 <category android:name="android.intent.category.LAUNCHER" /> 121 </intent-filter> 122 </activity> 123 124 <activity 125 android:name="com.android.launcher3.WallpaperPickerActivity" 126 android:theme="@style/Theme.WallpaperPicker" 127 android:label="@string/pick_wallpaper" 128 android:icon="@mipmap/ic_launcher_wallpaper" 129 android:finishOnCloseSystemDialogs="true" 130 android:process=":wallpaper_chooser"> 131 <intent-filter> 132 <action android:name="android.intent.action.SET_WALLPAPER" /> 133 <category android:name="android.intent.category.DEFAULT" /> 134 </intent-filter> 135 </activity> 136 137 <activity 138 android:name="com.android.launcher3.WallpaperCropActivity" 139 android:theme="@style/Theme.WallpaperCropper" 140 android:label="@string/crop_wallpaper" 141 android:icon="@mipmap/ic_launcher_wallpaper" 142 android:finishOnCloseSystemDialogs="true" 143 android:process=":wallpaper_chooser"> 144 <intent-filter> 145 <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" /> 146 <category android:name="android.intent.category.DEFAULT" /> 147 <data android:mimeType="image/*" /> 148 </intent-filter> 149 </activity> 150 151 <!-- Debugging tools --> 152 <activity 153 android:name="com.android.launcher3.MemoryDumpActivity" 154 android:theme="@android:style/Theme.NoDisplay" 155 android:label="@string/debug_memory_activity" 156 android:enabled="@bool/debug_memory_enabled" 157 android:excludeFromRecents="true" 158 android:icon="@mipmap/ic_launcher_home" 159 > 160 <intent-filter> 161 <action android:name="android.intent.action.MAIN" /> 162 <category android:name="android.intent.category.DEFAULT" /> 163 <category android:name="android.intent.category.LAUNCHER" /> 164 </intent-filter> 165 </activity> 166 167 <service android:name="com.android.launcher3.MemoryTracker" 168 android:enabled="@bool/debug_memory_enabled" 169 > 170 </service> 171 172 <receiver 173 android:name="com.android.launcher3.WallpaperChangedReceiver"> 174 <intent-filter> 175 <action android:name="android.intent.action.WALLPAPER_CHANGED" /> 176 </intent-filter> 177 </receiver> 178 179 <!-- Intent received used to install shortcuts from other applications --> 180 <receiver 181 android:name="com.android.launcher3.InstallShortcutReceiver" 182 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"> 183 <intent-filter> 184 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" /> 185 </intent-filter> 186 </receiver> 187 188 <!-- Intent received used to initialize a restored widget --> 189 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" > 190 <intent-filter> 191 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/> 192 </intent-filter> 193 </receiver> 194 195 <!-- New user initialization; set up initial wallpaper --> 196 <receiver 197 android:name="com.android.launcher3.UserInitializeReceiver" 198 android:exported="false"> 199 <intent-filter> 200 <action android:name="android.intent.action.USER_INITIALIZE" /> 201 </intent-filter> 202 </receiver> 203 204 <receiver android:name="com.android.launcher3.StartupReceiver" > 205 <intent-filter> 206 <action android:name="android.intent.action.BOOT_COMPLETED" /> 207 </intent-filter> 208 </receiver> 209 210 <!-- The settings provider contains Home's data, like the workspace favorites --> 211 <provider 212 android:name="com.android.launcher3.LauncherProvider" 213 android:authorities="com.android.launcher3.settings" 214 android:exported="true" 215 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS" 216 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" /> 217 218 <meta-data android:name="android.nfc.disable_beam_default" 219 android:value="true" /> 220 </application> 221</manifest> 222