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