blob: 7b0068c45e18cd69e62f71b2f2fcf38c119d3f18 [file] [log] [blame]
Joshua Traske514d3d2021-11-01 17:12:57 -04001<?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 package="com.android.intentresolver"
21 android:versionCode="0"
22 android:versionName="2021-11"
23 coreApp="true">
24
Joshua Trask6538ea62021-11-17 15:35:03 -050025
Joshua Traskf2020322021-11-29 15:35:56 -050026 <uses-permission android:name="android.permission.ACCESS_SHORTCUTS" />
27 <uses-permission android:name="android.permission.BIND_RESOLVER_RANKER_SERVICE" />
Matt Casey923cf112022-02-22 22:10:30 -050028 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Joshua Trask6538ea62021-11-17 15:35:03 -050029 <uses-permission android:name="android.permission.MANAGE_APP_PREDICTIONS" />
30 <uses-permission android:name="android.permission.MANAGE_USERS" />
Joshua Trask00520782021-11-23 10:46:05 -050031 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
Joshua Trask718989e2021-11-29 12:47:46 -050032 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
Joshua Trask6538ea62021-11-17 15:35:03 -050033 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Matt Casey37f90862022-02-01 20:52:20 -050034 <uses-permission android:name="android.permission.SET_CLIP_SOURCE" />
Joshua Traske514d3d2021-11-01 17:12:57 -040035 <uses-permission android:name="android.permission.START_ACTIVITY_AS_CALLER" />
Joshua Traskf2020322021-11-29 15:35:56 -050036 <uses-permission android:name="android.permission.UNLIMITED_SHORTCUTS_API_CALLS" />
Joshua Traske514d3d2021-11-01 17:12:57 -040037
38 <application
39 android:hardwareAccelerated="true"
40 android:label="@string/app_label"
41 android:directBootAware="true"
42 android:forceQueryable="true"
43 android:supportsRtl="true">
44
Joshua Trask89e88bf2022-08-31 14:04:10 -040045 <!-- This activity is enabled or disabled by the ChooserSelector
46 component, based on the flag flipper experiment (1500). It's
47 initially disabled here only as an extra precaution, since it
48 should be disabled by ChooserSelector on startup regardless.
49 TODO: if this graduates from its experiment (and ChooserSelector
50 is removed), this should be set to default-enabled. -->
Joshua Traske514d3d2021-11-01 17:12:57 -040051 <activity android:name=".ChooserActivity"
Matt Caseybca35af2022-02-01 21:55:27 -050052 android:theme="@style/Theme.DeviceDefault.Chooser"
Joshua Traske514d3d2021-11-01 17:12:57 -040053 android:finishOnCloseSystemDialogs="true"
54 android:excludeFromRecents="true"
55 android:documentLaunchMode="never"
56 android:relinquishTaskIdentity="true"
57 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden"
58 android:visibleToInstantApps="true"
Joshua Trask89e88bf2022-08-31 14:04:10 -040059 android:exported="true"
60 android:enabled="false">
61
62 <!-- This intent filter is assigned a priority greater than 100 so
63 that it will take precedence over the framework ChooserActivity
64 in the process of resolving implicit action.CHOOSER intents
65 whenever this activity is enabled by the experiment flag. -->
66 <intent-filter android:priority="500">
Joshua Traske514d3d2021-11-01 17:12:57 -040067 <action android:name="android.intent.action.CHOOSER" />
Joshua Trask89e88bf2022-08-31 14:04:10 -040068 <category android:name="android.intent.category.DEFAULT" />
Joshua Traske514d3d2021-11-01 17:12:57 -040069 <category android:name="android.intent.category.VOICE" />
70 </intent-filter>
71 </activity>
72
73 </application>
74
75</manifest>