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