AndroidManifest.xml revision 325dc23624160689e59fbac708cf6f222b20d025
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.launcher3.permission.READ_SETTINGS" /> 60 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" /> 61 62 <application 63 android:name="com.android.launcher3.LauncherApplication" 64 android:label="@string/application_name" 65 android:icon="@mipmap/ic_launcher_home" 66 android:hardwareAccelerated="true" 67 android:largeHeap="@bool/config_largeHeap" 68 android:supportsRtl="true"> 69 <activity 70 android:name="com.android.launcher3.Launcher" 71 android:launchMode="singleTask" 72 android:clearTaskOnLaunch="true" 73 android:stateNotNeeded="true" 74 android:theme="@style/Theme" 75 android:windowSoftInputMode="adjustPan" 76 android:screenOrientation="nosensor"> 77 <intent-filter> 78 <action android:name="android.intent.action.MAIN" /> 79 <category android:name="android.intent.category.HOME" /> 80 <category android:name="android.intent.category.DEFAULT" /> 81 <category android:name="android.intent.category.MONKEY"/> 82 </intent-filter> 83 </activity> 84 85 <activity 86 android:name="com.android.launcher3.WallpaperChooser" 87 android:theme="@style/Theme.WallpaperPicker" 88 android:label="@string/pick_wallpaper" 89 android:icon="@mipmap/ic_launcher_wallpaper" 90 android:finishOnCloseSystemDialogs="true" 91 android:process=":wallpaper_chooser"> 92 <intent-filter> 93 <action android:name="android.intent.action.SET_WALLPAPER" /> 94 <category android:name="android.intent.category.DEFAULT" /> 95 </intent-filter> 96 <meta-data android:name="android.wallpaper.preview" 97 android:resource="@xml/wallpaper_picker_preview" /> 98 </activity> 99 100 <!-- Intent received used to prepopulate the default workspace. --> 101 <receiver 102 android:name="com.android.launcher3.PreloadReceiver" 103 android:permission="com.android.launcher3.permission.PRELOAD_WORKSPACE"> 104 <intent-filter> 105 <action android:name="com.android.launcher3.action.PRELOAD_WORKSPACE" /> 106 </intent-filter> 107 </receiver> 108 109 <!-- Intent received used to install shortcuts from other applications --> 110 <receiver 111 android:name="com.android.launcher3.InstallShortcutReceiver" 112 android:permission="com.android.launcher3.permission.INSTALL_SHORTCUT"> 113 <intent-filter> 114 <action android:name="com.android.launcher3.action.INSTALL_SHORTCUT" /> 115 </intent-filter> 116 </receiver> 117 118 <!-- Intent received used to uninstall shortcuts from other applications --> 119 <receiver 120 android:name="com.android.launcher3.UninstallShortcutReceiver" 121 android:permission="com.android.launcher3.permission.UNINSTALL_SHORTCUT"> 122 <intent-filter> 123 <action android:name="com.android.launcher3.action.UNINSTALL_SHORTCUT" /> 124 </intent-filter> 125 </receiver> 126 127 <!-- New user initialization; set up initial wallpaper --> 128 <receiver 129 android:name="com.android.launcher3.UserInitializeReceiver" 130 android:exported="false"> 131 <intent-filter> 132 <action android:name="android.intent.action.USER_INITIALIZE" /> 133 </intent-filter> 134 </receiver> 135 136 <receiver android:name="com.android.launcher3.PackageChangedReceiver" > 137 <intent-filter> 138 <action android:name="android.intent.action.PACKAGE_CHANGED"/> 139 <action android:name="android.intent.action.PACKAGE_REPLACED"/> 140 <action android:name="android.intent.action.PACKAGE_REMOVED"/> 141 <data android:scheme="package"></data> 142 </intent-filter> 143 </receiver> 144 145 <!-- The settings provider contains Home's data, like the workspace favorites --> 146 <provider 147 android:name="com.android.launcher3.LauncherProvider" 148 android:authorities="com.android.launcher3.settings" 149 android:exported="true" 150 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS" 151 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" /> 152 153 <meta-data android:name="android.nfc.disable_beam_default" 154 android:value="true" /> 155 </application> 156</manifest> 157