aboutsummaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
blob: 17a35347016cfd3e1122bc3da12c7cd26aebd119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
 * Copyright (c) 2021 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.intentresolver"
        android:versionCode="0"
        android:versionName="2021-11"
        coreApp="true">


    <uses-permission android:name="android.permission.ACCESS_SHORTCUTS" />
    <uses-permission android:name="android.permission.BIND_RESOLVER_RANKER_SERVICE" />
    <uses-permission android:name="android.permission.GET_ANY_PROVIDER_TYPE" />
    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
    <uses-permission android:name="android.permission.MANAGE_APP_PREDICTIONS" />
    <uses-permission android:name="android.permission.MANAGE_USERS" />
    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
    <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
    <uses-permission android:name="android.permission.SET_CLIP_SOURCE" />
    <uses-permission android:name="android.permission.START_ACTIVITY_AS_CALLER" />
    <uses-permission android:name="android.permission.UNLIMITED_SHORTCUTS_API_CALLS" />
    <uses-permission android:name="android.permission.QUERY_CLONED_APPS" />

    <application
        android:hardwareAccelerated="true"
        android:label="@string/app_label"
        android:directBootAware="true"
        android:forceQueryable="true"
        android:requiredForAllUsers="true"
        android:supportsRtl="true">

        <!-- This alias needs to be maintained until there are no more devices that could be
             upgrading from T QPR3. (b/283722356) -->
        <activity-alias
            android:name=".ChooserActivityLauncher"
            android:targetActivity=".ChooserActivity"
            android:exported="true">

            <!-- This intent filter is assigned a priority greater than 100 so
                 that it will take precedence over the framework ChooserActivity
                 in the process of resolving implicit action.CHOOSER intents
                 whenever this activity is enabled by the experiment flag. -->
            <intent-filter android:priority="500">
                <action android:name="android.intent.action.CHOOSER" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.VOICE" />
            </intent-filter>
        </activity-alias>

        <activity android:name=".ChooserActivity"
                android:theme="@style/Theme.DeviceDefault.Chooser"
                android:finishOnCloseSystemDialogs="true"
                android:excludeFromRecents="true"
                android:documentLaunchMode="never"
                android:relinquishTaskIdentity="true"
                android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden"
                android:visibleToInstantApps="true"
                android:exported="false"/>

    </application>

</manifest>