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