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<manifest
21    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.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS" />
31    <uses-permission android:name="android.permission.VIBRATE" />
32    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
33    <uses-permission android:name="${packageName}.permission.HOTSEAT_EDU" />
34
35    <application
36        android:backupAgent="com.android.launcher3.LauncherBackupAgent"
37        android:fullBackupOnly="true"
38        android:fullBackupContent="@xml/backupscheme"
39        android:hardwareAccelerated="true"
40        android:icon="@drawable/ic_launcher_home"
41        android:label="@string/derived_app_name"
42        android:theme="@style/AppTheme"
43        android:largeHeap="@bool/config_largeHeap"
44        android:restoreAnyVersion="true"
45        android:supportsRtl="true" >
46
47        <service
48            android:name="com.android.quickstep.TouchInteractionService"
49            android:permission="android.permission.STATUS_BAR_SERVICE"
50            android:directBootAware="true" >
51            <intent-filter>
52                <action android:name="android.intent.action.QUICKSTEP_SERVICE" />
53            </intent-filter>
54        </service>
55
56        <activity android:name="com.android.quickstep.RecentsActivity"
57            android:excludeFromRecents="true"
58            android:launchMode="singleTask"
59            android:clearTaskOnLaunch="true"
60            android:stateNotNeeded="true"
61            android:theme="@style/LauncherTheme"
62            android:screenOrientation="unspecified"
63            android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
64            android:resizeableActivity="true"
65            android:resumeWhilePausing="true"
66            android:taskAffinity="" />
67
68        <!-- Content provider to settings search. The autority should be same as the packageName -->
69        <provider
70            android:name="com.android.quickstep.LauncherSearchIndexablesProvider"
71            android:authorities="${packageName}"
72            android:grantUriPermissions="true"
73            android:multiprocess="true"
74            android:permission="android.permission.READ_SEARCH_INDEXABLES"
75            android:exported="true">
76            <intent-filter>
77                <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
78            </intent-filter>
79        </provider>
80
81        <!-- FileProvider used for sharing images. -->
82        <provider
83            android:name="androidx.core.content.FileProvider"
84            android:authorities="${packageName}.overview.fileprovider"
85            android:exported="false"
86            android:grantUriPermissions="true">
87            <meta-data
88                android:name="android.support.FILE_PROVIDER_PATHS"
89                android:resource="@xml/overview_file_provider_paths" />
90        </provider>
91
92        <service
93            android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
94            tools:node="remove" />
95
96        <activity
97            android:name="com.android.launcher3.proxy.ProxyActivityStarter"
98            android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
99            android:launchMode="singleTask"
100            android:clearTaskOnLaunch="true"
101            android:exported="false" />
102
103        <activity
104            android:name="com.android.quickstep.interaction.GestureSandboxActivity"
105            android:autoRemoveFromRecents="true"
106            android:excludeFromRecents="true"
107            android:screenOrientation="portrait">
108            <intent-filter>
109                <action android:name="com.android.quickstep.action.GESTURE_SANDBOX" />
110                <category android:name="android.intent.category.DEFAULT" />
111            </intent-filter>
112        </activity>
113        <activity
114            android:name=".hybridhotseat.HotseatEduActivity"
115            android:theme="@android:style/Theme.NoDisplay"
116            android:noHistory="true"
117            android:launchMode="singleTask"
118            android:clearTaskOnLaunch="true"
119            android:permission="${packageName}.permission.HOTSEAT_EDU">
120            <intent-filter>
121                <action android:name="com.android.launcher3.action.SHOW_HYBRID_HOTSEAT_EDU"/>
122                <category android:name="android.intent.category.DEFAULT" />
123            </intent-filter>
124        </activity>
125
126    </application>
127
128</manifest>
129