AndroidManifest.xml revision 104c45677660586026a7e74ef8c47d396403d50e
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 24 <permission 25 android:name="com.android.launcher3.permission.PRELOAD_WORKSPACE" 26 android:permissionGroup="android.permission-group.SYSTEM_TOOLS" 27 android:protectionLevel="system|signature" /> 28 <permission 29 android:name="com.android.launcher3.permission.INSTALL_SHORTCUT" 30 android:permissionGroup="android.permission-group.SYSTEM_TOOLS" 31 android:protectionLevel="dangerous" 32 android:label="@string/permlab_install_shortcut" 33 android:description="@string/permdesc_install_shortcut" /> 34 <permission 35 android:name="com.android.launcher3.permission.UNINSTALL_SHORTCUT" 36 android:permissionGroup="android.permission-group.SYSTEM_TOOLS" 37 android:protectionLevel="dangerous" 38 android:label="@string/permlab_uninstall_shortcut" 39 android:description="@string/permdesc_uninstall_shortcut"/> 40 <permission 41 android:name="com.android.launcher3.permission.READ_SETTINGS" 42 android:permissionGroup="android.permission-group.SYSTEM_TOOLS" 43 android:protectionLevel="normal" 44 android:label="@string/permlab_read_settings" 45 android:description="@string/permdesc_read_settings"/> 46 <permission 47 android:name="com.android.launcher3.permission.WRITE_SETTINGS" 48 android:permissionGroup="android.permission-group.SYSTEM_TOOLS" 49 android:protectionLevel="normal" 50 android:label="@string/permlab_write_settings" 51 android:description="@string/permdesc_write_settings"/> 52 53 <permission 54 android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" 55 android:protectionLevel="signature" 56 /> 57 58 <uses-permission android:name="android.permission.CALL_PHONE" /> 59 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 60 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> 61 <uses-permission android:name="android.permission.VIBRATE" /> 62 <uses-permission android:name="android.permission.BIND_APPWIDGET" /> 63 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 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 70 <application 71 android:name="com.android.launcher3.LauncherApplication" 72 android:label="@string/application_name" 73 android:icon="@mipmap/ic_launcher_home" 74 android:hardwareAccelerated="true" 75 android:largeHeap="@bool/config_largeHeap" 76 android:supportsRtl="true"> 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 <intent-filter> 86 <action android:name="android.intent.action.MAIN" /> 87 <category android:name="android.intent.category.HOME" /> 88 <category android:name="android.intent.category.DEFAULT" /> 89 <category android:name="android.intent.category.MONKEY"/> 90 </intent-filter> 91 </activity> 92 93 <activity 94 android:name="com.android.launcher3.WidgetAdder" 95 android:label="@string/widget_adder" 96 android:icon="@mipmap/ic_launcher_home"> 97 <intent-filter> 98 <action android:name="android.intent.action.MAIN" /> 99 <category android:name="android.intent.category.DEFAULT" /> 100 <category android:name="android.intent.category.LAUNCHER" /> 101 </intent-filter> 102 </activity> 103 104 <activity 105 android:name="com.android.launcher3.ToggleWeightWatcher" 106 android:label="@string/toggle_weight_watcher" 107 android:icon="@mipmap/ic_launcher_home"> 108 <intent-filter> 109 <action android:name="android.intent.action.MAIN" /> 110 <category android:name="android.intent.category.DEFAULT" /> 111 <category android:name="android.intent.category.LAUNCHER" /> 112 </intent-filter> 113 </activity> 114 115 <activity 116 android:name="com.android.launcher3.WallpaperChooser" 117 android:theme="@style/Theme.WallpaperPicker" 118 android:label="@string/pick_wallpaper" 119 android:icon="@mipmap/ic_launcher_wallpaper" 120 android:finishOnCloseSystemDialogs="true" 121 android:process=":wallpaper_chooser"> 122 <intent-filter> 123 <action android:name="android.intent.action.SET_WALLPAPER" /> 124 <category android:name="android.intent.category.DEFAULT" /> 125 </intent-filter> 126 <meta-data android:name="android.wallpaper.preview" 127 android:resource="@xml/wallpaper_picker_preview" /> 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 <meta-data android:name="android.wallpaper.preview" 142 android:resource="@xml/wallpaper_picker_preview" /> 143 </activity> 144 145 146 <!-- Debugging tools --> 147 <activity 148 android:name="com.android.launcher3.MemoryDumpActivity" 149 android:theme="@android:style/Theme.NoDisplay" 150 android:label="@string/debug_memory_activity" 151 android:enabled="@bool/debug_memory_enabled" 152 android:excludeFromRecents="true" 153 android:icon="@mipmap/ic_launcher_home" 154 > 155 <intent-filter> 156 <action android:name="android.intent.action.MAIN" /> 157 <category android:name="android.intent.category.DEFAULT" /> 158 <category android:name="android.intent.category.LAUNCHER" /> 159 </intent-filter> 160 </activity> 161 162 <service android:name="com.android.launcher3.MemoryTracker" 163 android:enabled="@bool/debug_memory_enabled" 164 > 165 </service> 166 167 <!-- Intent received used to prepopulate the default workspace. --> 168 <receiver 169 android:name="com.android.launcher3.PreloadReceiver" 170 android:permission="com.android.launcher3.permission.PRELOAD_WORKSPACE"> 171 <intent-filter> 172 <action android:name="com.android.launcher3.action.PRELOAD_WORKSPACE" /> 173 </intent-filter> 174 </receiver> 175 176 <!-- Intent received used to install shortcuts from other applications --> 177 <receiver 178 android:name="com.android.launcher3.InstallShortcutReceiver" 179 android:permission="com.android.launcher3.permission.INSTALL_SHORTCUT"> 180 <intent-filter> 181 <action android:name="com.android.launcher3.action.INSTALL_SHORTCUT" /> 182 </intent-filter> 183 </receiver> 184 185 <!-- Intent received used to uninstall shortcuts from other applications --> 186 <receiver 187 android:name="com.android.launcher3.UninstallShortcutReceiver" 188 android:permission="com.android.launcher3.permission.UNINSTALL_SHORTCUT"> 189 <intent-filter> 190 <action android:name="com.android.launcher3.action.UNINSTALL_SHORTCUT" /> 191 </intent-filter> 192 </receiver> 193 194 <!-- New user initialization; set up initial wallpaper --> 195 <receiver 196 android:name="com.android.launcher3.UserInitializeReceiver" 197 android:exported="false"> 198 <intent-filter> 199 <action android:name="android.intent.action.USER_INITIALIZE" /> 200 </intent-filter> 201 </receiver> 202 203 <receiver android:name="com.android.launcher3.PackageChangedReceiver" > 204 <intent-filter> 205 <action android:name="android.intent.action.PACKAGE_CHANGED"/> 206 <action android:name="android.intent.action.PACKAGE_REPLACED"/> 207 <action android:name="android.intent.action.PACKAGE_REMOVED"/> 208 <data android:scheme="package"></data> 209 </intent-filter> 210 </receiver> 211 212 <!-- The settings provider contains Home's data, like the workspace favorites --> 213 <provider 214 android:name="com.android.launcher3.LauncherProvider" 215 android:authorities="com.android.launcher3.settings" 216 android:exported="true" 217 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS" 218 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" /> 219 220 <meta-data android:name="android.nfc.disable_beam_default" 221 android:value="true" /> 222 </application> 223</manifest> 224