• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.STATUS_BAR"/>
34    <uses-permission android:name="android.permission.STOP_APP_SWITCHES"/>
35    <uses-permission android:name="android.permission.SET_ORIENTATION"/>
36    <uses-permission android:name="android.permission.READ_FRAME_BUFFER"/>
37    <uses-permission android:name="android.permission.MANAGE_ACCESSIBILITY"/>
38    <uses-permission android:name="android.permission.MONITOR_INPUT"/>
39    <uses-permission android:name="android.permission.ALLOW_SLIPPERY_TOUCHES"/>
40    <uses-permission android:name="android.permission.ACCESS_SHORTCUTS"/>
41
42    <uses-permission android:name="android.permission.SYSTEM_APPLICATION_OVERLAY" />
43
44    <application android:backupAgent="com.android.launcher3.LauncherBackupAgent"
45         android:fullBackupOnly="true"
46         android:fullBackupContent="@xml/backupscheme"
47         android:hardwareAccelerated="true"
48         android:icon="@drawable/ic_launcher_home"
49         android:label="@string/derived_app_name"
50         android:theme="@style/AppTheme"
51         android:largeHeap="@bool/config_largeHeap"
52         android:restoreAnyVersion="true"
53         android:supportsRtl="true">
54
55        <service android:name="com.android.quickstep.TouchInteractionService"
56             android:permission="android.permission.STATUS_BAR_SERVICE"
57             android:directBootAware="true"
58             android:exported="true">
59            <intent-filter>
60                <action android:name="android.intent.action.QUICKSTEP_SERVICE"/>
61            </intent-filter>
62        </service>
63
64        <activity android:name="com.android.quickstep.RecentsActivity"
65             android:excludeFromRecents="true"
66             android:launchMode="singleTask"
67             android:clearTaskOnLaunch="true"
68             android:stateNotNeeded="true"
69             android:theme="@style/LauncherTheme"
70             android:screenOrientation="unspecified"
71             android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
72             android:resizeableActivity="true"
73             android:resumeWhilePausing="true"
74             android:taskAffinity=""/>
75
76        <!-- Content provider to settings search. The autority should be same as the packageName -->
77        <provider android:name="com.android.quickstep.LauncherSearchIndexablesProvider"
78             android:authorities="${packageName}"
79             android:grantUriPermissions="true"
80             android:multiprocess="true"
81             android:permission="android.permission.READ_SEARCH_INDEXABLES"
82             android:exported="true">
83            <intent-filter>
84                <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER"/>
85            </intent-filter>
86        </provider>
87
88        <!-- FileProvider used for sharing images. -->
89        <provider android:name="androidx.core.content.FileProvider"
90             android:authorities="${packageName}.overview.fileprovider"
91             android:exported="false"
92             android:grantUriPermissions="true">
93            <meta-data android:name="android.support.FILE_PROVIDER_PATHS"
94                 android:resource="@xml/overview_file_provider_paths"/>
95        </provider>
96
97        <activity 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 android:name="com.android.quickstep.interaction.GestureSandboxActivity"
104            android:autoRemoveFromRecents="true"
105            android:excludeFromRecents="true"
106            android:theme="@style/GestureTutorialActivity"
107            android:exported="true">
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
114        <!--
115        Activity following gesture nav onboarding.
116        It's protected by android.permission.REBOOT to ensure that only system apps can start it
117        (setup wizard already has this permission)
118        -->
119        <activity android:name="com.android.quickstep.interaction.AllSetActivity"
120            android:autoRemoveFromRecents="true"
121            android:excludeFromRecents="true"
122            android:permission="android.permission.REBOOT"
123            android:theme="@style/AllSetTheme"
124            android:label="@string/allset_title"
125            android:exported="true">
126            <intent-filter>
127                <action android:name="com.android.quickstep.action.GESTURE_ONBOARDING_ALL_SET"/>
128                <category android:name="android.intent.category.DEFAULT"/>
129            </intent-filter>
130        </activity>
131
132    </application>
133
134</manifest>
135