AndroidManifest.xml revision 39a06042556a90c98f55a92bda5811e7d9492d13
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 <uses-permission android:name="android.permission.CALL_PHONE" /> 54 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 55 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> 56 <uses-permission android:name="android.permission.VIBRATE" /> 57 <uses-permission android:name="android.permission.BIND_APPWIDGET" /> 58 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 59 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" /> 60 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" /> 61 <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" /> 62 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" /> 63 64 <application 65 android:name="com.android.launcher3.LauncherApplication" 66 android:label="@string/application_name" 67 android:icon="@mipmap/ic_launcher_home" 68 android:hardwareAccelerated="true" 69 android:largeHeap="@bool/config_largeHeap" 70 android:supportsRtl="true"> 71 <activity 72 android:name="com.android.launcher3.Launcher" 73 android:launchMode="singleTask" 74 android:clearTaskOnLaunch="true" 75 android:stateNotNeeded="true" 76 android:theme="@style/Theme" 77 android:windowSoftInputMode="adjustPan" 78 android:screenOrientation="nosensor"> 79 <intent-filter> 80 <action android:name="android.intent.action.MAIN" /> 81 <category android:name="android.intent.category.HOME" /> 82 <category android:name="android.intent.category.DEFAULT" /> 83 <category android:name="android.intent.category.MONKEY"/> 84 </intent-filter> 85 </activity> 86 87 <activity 88 android:name="com.android.launcher3.WidgetAdder" 89 android:label="@string/widget_adder" 90 android:icon="@mipmap/ic_launcher_home"> 91 <intent-filter> 92 <action android:name="android.intent.action.MAIN" /> 93 <category android:name="android.intent.category.DEFAULT" /> 94 <category android:name="android.intent.category.LAUNCHER" /> 95 </intent-filter> 96 </activity> 97 98 <activity 99 android:name="com.android.launcher3.ToggleWeightWatcher" 100 android:label="@string/toggle_weight_watcher" 101 android:icon="@mipmap/ic_launcher_home"> 102 <intent-filter> 103 <action android:name="android.intent.action.MAIN" /> 104 <category android:name="android.intent.category.DEFAULT" /> 105 <category android:name="android.intent.category.LAUNCHER" /> 106 </intent-filter> 107 </activity> 108 109 <activity 110 android:name="com.android.launcher3.WallpaperChooser" 111 android:theme="@style/Theme.WallpaperPicker" 112 android:label="@string/pick_wallpaper" 113 android:icon="@mipmap/ic_launcher_wallpaper" 114 android:finishOnCloseSystemDialogs="true" 115 android:process=":wallpaper_chooser"> 116 <intent-filter> 117 <action android:name="android.intent.action.SET_WALLPAPER" /> 118 <category android:name="android.intent.category.DEFAULT" /> 119 </intent-filter> 120 <meta-data android:name="android.wallpaper.preview" 121 android:resource="@xml/wallpaper_picker_preview" /> 122 </activity> 123 124 <!-- Debugging tools --> 125 <activity 126 android:name="com.android.launcher3.MemoryDumpActivity" 127 android:theme="@android:style/Theme.NoDisplay" 128 android:label="@string/debug_memory_activity" 129 android:enabled="@bool/debug_memory_enabled" 130 android:excludeFromRecents="true" 131 android:icon="@mipmap/ic_launcher_home" 132 > 133 <intent-filter> 134 <action android:name="android.intent.action.MAIN" /> 135 <category android:name="android.intent.category.DEFAULT" /> 136 <category android:name="android.intent.category.LAUNCHER" /> 137 </intent-filter> 138 </activity> 139 140 <service android:name="com.android.launcher3.MemoryTracker" 141 android:enabled="@bool/debug_memory_enabled" 142 > 143 </service> 144 145 <!-- Intent received used to prepopulate the default workspace. --> 146 <receiver 147 android:name="com.android.launcher3.PreloadReceiver" 148 android:permission="com.android.launcher3.permission.PRELOAD_WORKSPACE"> 149 <intent-filter> 150 <action android:name="com.android.launcher3.action.PRELOAD_WORKSPACE" /> 151 </intent-filter> 152 </receiver> 153 154 <!-- Intent received used to install shortcuts from other applications --> 155 <receiver 156 android:name="com.android.launcher3.InstallShortcutReceiver" 157 android:permission="com.android.launcher3.permission.INSTALL_SHORTCUT"> 158 <intent-filter> 159 <action android:name="com.android.launcher3.action.INSTALL_SHORTCUT" /> 160 </intent-filter> 161 </receiver> 162 163 <!-- Intent received used to uninstall shortcuts from other applications --> 164 <receiver 165 android:name="com.android.launcher3.UninstallShortcutReceiver" 166 android:permission="com.android.launcher3.permission.UNINSTALL_SHORTCUT"> 167 <intent-filter> 168 <action android:name="com.android.launcher3.action.UNINSTALL_SHORTCUT" /> 169 </intent-filter> 170 </receiver> 171 172 <!-- New user initialization; set up initial wallpaper --> 173 <receiver 174 android:name="com.android.launcher3.UserInitializeReceiver" 175 android:exported="false"> 176 <intent-filter> 177 <action android:name="android.intent.action.USER_INITIALIZE" /> 178 </intent-filter> 179 </receiver> 180 181 <receiver android:name="com.android.launcher3.PackageChangedReceiver" > 182 <intent-filter> 183 <action android:name="android.intent.action.PACKAGE_CHANGED"/> 184 <action android:name="android.intent.action.PACKAGE_REPLACED"/> 185 <action android:name="android.intent.action.PACKAGE_REMOVED"/> 186 <data android:scheme="package"></data> 187 </intent-filter> 188 </receiver> 189 190 <!-- The settings provider contains Home's data, like the workspace favorites --> 191 <provider 192 android:name="com.android.launcher3.LauncherProvider" 193 android:authorities="com.android.launcher3.settings" 194 android:exported="true" 195 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS" 196 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" /> 197 198 <meta-data android:name="android.nfc.disable_beam_default" 199 android:value="true" /> 200 </application> 201</manifest> 202