1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright (c) 2021 Google Inc.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *     http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:tools="http://schemas.android.com/tools"
21        package="com.android.intentresolver"
22        android:versionCode="0"
23        android:versionName="2021-11"
24        coreApp="true">
25
26    <application
27        android:name=".MainApplication"
28        android:hardwareAccelerated="true"
29        android:label="@string/app_label"
30        android:directBootAware="true"
31        android:forceQueryable="true"
32        android:requiredForAllUsers="true"
33        android:supportsRtl="true">
34
35        <activity android:name=".ChooserActivity"
36            android:enabled="true"
37            android:theme="@style/Theme.DeviceDefault.Chooser"
38            android:finishOnCloseSystemDialogs="true"
39            android:excludeFromRecents="true"
40            android:documentLaunchMode="never"
41            android:relinquishTaskIdentity="true"
42            android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden"
43            android:visibleToInstantApps="true"
44            android:exported="false" />
45
46        <!-- This alias needs to be maintained until there are no more devices that could be
47             upgrading from T QPR3. (b/283722356) -->
48        <activity-alias
49            android:name=".ChooserActivityLauncher"
50            android:targetActivity=".ChooserActivity"
51            android:exported="true">
52
53            <intent-filter android:priority="500">
54                <action android:name="android.intent.action.CHOOSER" />
55                <category android:name="android.intent.category.DEFAULT" />
56                <category android:name="android.intent.category.VOICE" />
57            </intent-filter>
58
59        </activity-alias>
60
61        <provider android:name="androidx.startup.InitializationProvider"
62                android:authorities="${applicationId}.androidx-startup"
63                tools:replace="android:authorities"
64                tools:node="remove" />
65
66    </application>
67
68</manifest>
69