• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" />
27
28    <application
29        android:name=".MainApplication"
30        android:hardwareAccelerated="true"
31        android:label="@string/app_label"
32        android:directBootAware="true"
33        android:forceQueryable="true"
34        android:requiredForAllUsers="true"
35        android:supportsRtl="true">
36
37        <activity android:name=".ChooserActivity"
38            android:enabled="true"
39            android:theme="@style/Theme.DeviceDefault.Chooser"
40            android:finishOnCloseSystemDialogs="true"
41            android:excludeFromRecents="true"
42            android:documentLaunchMode="never"
43            android:relinquishTaskIdentity="true"
44            android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden"
45            android:visibleToInstantApps="true"
46            android:exported="false" />
47
48        <!-- This alias needs to be maintained until there are no more devices that could be
49             upgrading from T QPR3. (b/283722356) -->
50        <activity-alias
51            android:name=".ChooserActivityLauncher"
52            android:targetActivity=".ChooserActivity"
53            android:exported="true">
54
55            <intent-filter android:priority="500">
56                <action android:name="android.intent.action.CHOOSER" />
57                <category android:name="android.intent.category.DEFAULT" />
58                <category android:name="android.intent.category.VOICE" />
59            </intent-filter>
60
61        </activity-alias>
62
63        <provider android:name="androidx.startup.InitializationProvider"
64                android:authorities="${applicationId}.androidx-startup"
65                tools:replace="android:authorities"
66                tools:node="remove" />
67
68    </application>
69
70</manifest>
71