1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** 5** Copyright 2017, 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 21<manifest xmlns:android="http://schemas.android.com/apk/res/android" 22 xmlns:tools="http://schemas.android.com/tools" 23 package="com.android.launcher3"> 24 25 <uses-permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS" /> 26 <uses-permission android:name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS"/> 27 <uses-permission android:name="android.permission.VIBRATE"/> 28 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/> 29 <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS"/> 30 <uses-permission android:name="android.permission.REMOVE_TASKS"/> 31 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> 32 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS"/> 33 <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"/> 34 <uses-permission android:name="android.permission.STATUS_BAR"/> 35 <uses-permission android:name="android.permission.STATUS_BAR_SERVICE"/> 36 <uses-permission android:name="android.permission.STOP_APP_SWITCHES"/> 37 <uses-permission android:name="android.permission.SET_ORIENTATION"/> 38 <uses-permission android:name="android.permission.READ_FRAME_BUFFER"/> 39 <uses-permission android:name="android.permission.MANAGE_ACCESSIBILITY"/> 40 <uses-permission android:name="android.permission.MONITOR_INPUT"/> 41 <uses-permission android:name="android.permission.ALLOW_SLIPPERY_TOUCHES"/> 42 <uses-permission android:name="android.permission.ACCESS_SHORTCUTS"/> 43 44 <uses-permission android:name="android.permission.SYSTEM_APPLICATION_OVERLAY" /> 45 46 <!-- 47 Permission required to access profiles which are otherwise hidden 48 from being visible via APIs, e.g. private profile. 49 --> 50 <uses-permission android:name="android.permission.ACCESS_HIDDEN_PROFILES_FULL" /> 51 52 <!-- Permission required to start a WidgetPickerActivity. --> 53 <permission android:name="${applicationId}.permission.START_WIDGET_PICKER_ACTIVITY" 54 android:protectionLevel="signature|privileged" /> 55 56 <application android:backupAgent="com.android.launcher3.LauncherBackupAgent" 57 android:fullBackupOnly="true" 58 android:fullBackupContent="@xml/backupscheme" 59 android:hardwareAccelerated="true" 60 android:icon="@drawable/ic_launcher_home" 61 android:label="@string/derived_app_name" 62 android:theme="@style/AppTheme" 63 android:largeHeap="@bool/config_largeHeap" 64 android:restoreAnyVersion="true" 65 android:supportsRtl="true"> 66 67 <service android:name="com.android.quickstep.TouchInteractionService" 68 android:permission="android.permission.STATUS_BAR_SERVICE" 69 android:directBootAware="true" 70 android:exported="true"> 71 <intent-filter> 72 <action android:name="android.intent.action.QUICKSTEP_SERVICE"/> 73 </intent-filter> 74 </service> 75 76 <activity android:name="com.android.quickstep.RecentsActivity" 77 android:excludeFromRecents="true" 78 android:launchMode="singleTask" 79 android:clearTaskOnLaunch="true" 80 android:stateNotNeeded="true" 81 android:theme="@style/LauncherTheme" 82 android:screenOrientation="behind" 83 android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize" 84 android:resizeableActivity="true" 85 android:resumeWhilePausing="true" 86 android:enableOnBackInvokedCallback="false" 87 android:taskAffinity=""/> 88 89 <!-- Content provider to settings search. The autority should be same as the packageName --> 90 <provider android:name="com.android.quickstep.LauncherSearchIndexablesProvider" 91 android:authorities="${applicationId}" 92 android:grantUriPermissions="true" 93 android:multiprocess="true" 94 android:permission="android.permission.READ_SEARCH_INDEXABLES" 95 android:exported="true"> 96 <intent-filter> 97 <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER"/> 98 </intent-filter> 99 </provider> 100 101 <!-- FileProvider used for sharing images. --> 102 <provider android:name="androidx.core.content.FileProvider" 103 android:authorities="${applicationId}.overview.fileprovider" 104 android:exported="false" 105 android:grantUriPermissions="true"> 106 <meta-data android:name="android.support.FILE_PROVIDER_PATHS" 107 android:resource="@xml/overview_file_provider_paths"/> 108 </provider> 109 110 <activity android:name="com.android.launcher3.proxy.ProxyActivityStarter" 111 android:theme="@style/ProxyActivityStarterTheme" 112 android:launchMode="singleTask" 113 android:clearTaskOnLaunch="true" 114 android:exported="false" 115 /> 116 117 <activity android:name="com.android.quickstep.interaction.GestureSandboxActivity" 118 android:autoRemoveFromRecents="true" 119 android:excludeFromRecents="true" 120 android:theme="@style/GestureTutorialActivity" 121 android:exported="true" 122 android:configChanges="orientation"> 123 <intent-filter> 124 <action android:name="com.android.quickstep.action.GESTURE_SANDBOX"/> 125 <category android:name="android.intent.category.DEFAULT"/> 126 </intent-filter> 127 </activity> 128 129 <!-- 130 Activity following gesture nav onboarding. 131 It's protected by android.permission.REBOOT to ensure that only system apps can start it 132 (setup wizard already has this permission) 133 --> 134 <activity android:name="com.android.quickstep.interaction.AllSetActivity" 135 android:autoRemoveFromRecents="true" 136 android:excludeFromRecents="true" 137 android:permission="android.permission.REBOOT" 138 android:theme="@style/AllSetTheme" 139 android:label="@string/allset_title" 140 android:exported="true"> 141 <intent-filter> 142 <action android:name="com.android.quickstep.action.GESTURE_ONBOARDING_ALL_SET"/> 143 <category android:name="android.intent.category.DEFAULT"/> 144 </intent-filter> 145 </activity> 146 147 <activity android:name="com.android.launcher3.WidgetPickerActivity" 148 android:theme="@style/WidgetPickerActivityTheme" 149 android:excludeFromRecents="true" 150 android:autoRemoveFromRecents="true" 151 android:showOnLockScreen="true" 152 android:launchMode="singleTop" 153 android:exported="true" 154 android:permission="android.permission.START_WIDGET_PICKER_ACTIVITY"> 155 <intent-filter> 156 <action android:name="android.intent.action.PICK" /> 157 <category android:name="android.intent.category.DEFAULT" /> 158 </intent-filter> 159 </activity> 160 161 </application> 162 163</manifest> 164