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