AndroidManifest.xml revision b5fe60c8a502fb7e265e3183550478b2b2a49264
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.WidgetAdder" 87 android:label="@string/widget_adder" 88 android:icon="@mipmap/ic_launcher_home"> 89 <intent-filter> 90 <action android:name="android.intent.action.MAIN" /> 91 <category android:name="android.intent.category.DEFAULT" /> 92 <category android:name="android.intent.category.LAUNCHER" /> 93 </intent-filter> 94 </activity> 95 96 <activity 97 android:name="com.android.launcher3.WallpaperChooser" 98 android:theme="@style/Theme.WallpaperPicker" 99 android:label="@string/pick_wallpaper" 100 android:icon="@mipmap/ic_launcher_wallpaper" 101 android:finishOnCloseSystemDialogs="true" 102 android:process=":wallpaper_chooser"> 103 <intent-filter> 104 <action android:name="android.intent.action.SET_WALLPAPER" /> 105 <category android:name="android.intent.category.DEFAULT" /> 106 </intent-filter> 107 <meta-data android:name="android.wallpaper.preview" 108 android:resource="@xml/wallpaper_picker_preview" /> 109 </activity> 110 111 <!-- Intent received used to prepopulate the default workspace. --> 112 <receiver 113 android:name="com.android.launcher3.PreloadReceiver" 114 android:permission="com.android.launcher3.permission.PRELOAD_WORKSPACE"> 115 <intent-filter> 116 <action android:name="com.android.launcher3.action.PRELOAD_WORKSPACE" /> 117 </intent-filter> 118 </receiver> 119 120 <!-- Intent received used to install shortcuts from other applications --> 121 <receiver 122 android:name="com.android.launcher3.InstallShortcutReceiver" 123 android:permission="com.android.launcher3.permission.INSTALL_SHORTCUT"> 124 <intent-filter> 125 <action android:name="com.android.launcher3.action.INSTALL_SHORTCUT" /> 126 </intent-filter> 127 </receiver> 128 129 <!-- Intent received used to uninstall shortcuts from other applications --> 130 <receiver 131 android:name="com.android.launcher3.UninstallShortcutReceiver" 132 android:permission="com.android.launcher3.permission.UNINSTALL_SHORTCUT"> 133 <intent-filter> 134 <action android:name="com.android.launcher3.action.UNINSTALL_SHORTCUT" /> 135 </intent-filter> 136 </receiver> 137 138 <!-- New user initialization; set up initial wallpaper --> 139 <receiver 140 android:name="com.android.launcher3.UserInitializeReceiver" 141 android:exported="false"> 142 <intent-filter> 143 <action android:name="android.intent.action.USER_INITIALIZE" /> 144 </intent-filter> 145 </receiver> 146 147 <receiver android:name="com.android.launcher3.PackageChangedReceiver" > 148 <intent-filter> 149 <action android:name="android.intent.action.PACKAGE_CHANGED"/> 150 <action android:name="android.intent.action.PACKAGE_REPLACED"/> 151 <action android:name="android.intent.action.PACKAGE_REMOVED"/> 152 <data android:scheme="package"></data> 153 </intent-filter> 154 </receiver> 155 156 <!-- The settings provider contains Home's data, like the workspace favorites --> 157 <provider 158 android:name="com.android.launcher3.LauncherProvider" 159 android:authorities="com.android.launcher3.settings" 160 android:exported="true" 161 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS" 162 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" /> 163 164 <meta-data android:name="android.nfc.disable_beam_default" 165 android:value="true" /> 166 </application> 167</manifest> 168