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