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 <permission 26 android:name="${packageName}.permission.HOTSEAT_EDU" 27 android:permissionGroup="android.permission-group.SYSTEM_TOOLS" 28 android:protectionLevel="signatureOrSystem" /> 29 30 <uses-permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS" /> 31 <uses-permission android:name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS"/> 32 <uses-permission android:name="android.permission.VIBRATE"/> 33 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/> 34 <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS"/> 35 <uses-permission android:name="android.permission.REMOVE_TASKS"/> 36 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS"/> 37 <uses-permission android:name="android.permission.STATUS_BAR"/> 38 <uses-permission android:name="android.permission.STOP_APP_SWITCHES"/> 39 <uses-permission android:name="android.permission.SET_ORIENTATION"/> 40 <uses-permission android:name="android.permission.READ_FRAME_BUFFER"/> 41 <uses-permission android:name="android.permission.MANAGE_ACCESSIBILITY"/> 42 <uses-permission android:name="android.permission.MONITOR_INPUT"/> 43 44 <uses-permission android:name="${packageName}.permission.HOTSEAT_EDU" /> 45 <uses-permission android:name="android.permission.SYSTEM_APPLICATION_OVERLAY" /> 46 47 <application android:backupAgent="com.android.launcher3.LauncherBackupAgent" 48 android:fullBackupOnly="true" 49 android:fullBackupContent="@xml/backupscheme" 50 android:hardwareAccelerated="true" 51 android:icon="@drawable/ic_launcher_home" 52 android:label="@string/derived_app_name" 53 android:theme="@style/AppTheme" 54 android:largeHeap="@bool/config_largeHeap" 55 android:restoreAnyVersion="true" 56 android:supportsRtl="true"> 57 58 <service android:name="com.android.quickstep.TouchInteractionService" 59 android:permission="android.permission.STATUS_BAR_SERVICE" 60 android:directBootAware="true" 61 android:exported="true"> 62 <intent-filter> 63 <action android:name="android.intent.action.QUICKSTEP_SERVICE"/> 64 </intent-filter> 65 </service> 66 67 <activity android:name="com.android.quickstep.RecentsActivity" 68 android:excludeFromRecents="true" 69 android:launchMode="singleTask" 70 android:clearTaskOnLaunch="true" 71 android:stateNotNeeded="true" 72 android:theme="@style/LauncherTheme" 73 android:screenOrientation="unspecified" 74 android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize|density" 75 android:resizeableActivity="true" 76 android:resumeWhilePausing="true" 77 android:taskAffinity=""/> 78 79 <!-- Content provider to settings search. The autority should be same as the packageName --> 80 <provider android:name="com.android.quickstep.LauncherSearchIndexablesProvider" 81 android:authorities="${packageName}" 82 android:grantUriPermissions="true" 83 android:multiprocess="true" 84 android:permission="android.permission.READ_SEARCH_INDEXABLES" 85 android:exported="true"> 86 <intent-filter> 87 <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER"/> 88 </intent-filter> 89 </provider> 90 91 <!-- FileProvider used for sharing images. --> 92 <provider android:name="androidx.core.content.FileProvider" 93 android:authorities="${packageName}.overview.fileprovider" 94 android:exported="false" 95 android:grantUriPermissions="true"> 96 <meta-data android:name="android.support.FILE_PROVIDER_PATHS" 97 android:resource="@xml/overview_file_provider_paths"/> 98 </provider> 99 100 <activity android:name="com.android.launcher3.proxy.ProxyActivityStarter" 101 android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" 102 android:launchMode="singleTask" 103 android:clearTaskOnLaunch="true" 104 android:exported="false"/> 105 106 <activity android:name="com.android.quickstep.interaction.GestureSandboxActivity" 107 android:autoRemoveFromRecents="true" 108 android:excludeFromRecents="true" 109 android:screenOrientation="portrait" 110 android:exported="true"> 111 <intent-filter> 112 <action android:name="com.android.quickstep.action.GESTURE_SANDBOX"/> 113 <category android:name="android.intent.category.DEFAULT"/> 114 </intent-filter> 115 </activity> 116 117 <!-- 118 Activity following gesture nav onboarding. 119 It's protected by android.permission.REBOOT to ensure that only system apps can start it 120 (setup wizard already has this permission) 121 --> 122 <activity android:name="com.android.quickstep.interaction.AllSetActivity" 123 android:autoRemoveFromRecents="true" 124 android:excludeFromRecents="true" 125 android:screenOrientation="portrait" 126 android:permission="android.permission.REBOOT" 127 android:theme="@style/AllSetTheme" 128 android:label="@string/allset_title" 129 android:exported="true"> 130 <intent-filter> 131 <action android:name="com.android.quickstep.action.GESTURE_ONBOARDING_ALL_SET"/> 132 <category android:name="android.intent.category.DEFAULT"/> 133 </intent-filter> 134 </activity> 135 136 <activity 137 android:name=".hybridhotseat.HotseatEduActivity" 138 android:theme="@android:style/Theme.NoDisplay" 139 android:noHistory="true" 140 android:launchMode="singleTask" 141 android:clearTaskOnLaunch="true" 142 android:permission="${packageName}.permission.HOTSEAT_EDU" 143 android:exported="true"> 144 <intent-filter> 145 <action android:name="com.android.launcher3.action.SHOW_HYBRID_HOTSEAT_EDU"/> 146 <category android:name="android.intent.category.DEFAULT" /> 147 </intent-filter> 148 </activity> 149 150 </application> 151 152</manifest> 153