Joshua Trask | e514d3d | 2021-11-01 17:12:57 -0400 | [diff] [blame] | 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 | package="com.android.intentresolver" |
| 21 | android:versionCode="0" |
| 22 | android:versionName="2021-11" |
| 23 | coreApp="true"> |
| 24 | |
Joshua Trask | 6538ea6 | 2021-11-17 15:35:03 -0500 | [diff] [blame] | 25 | |
Joshua Trask | f202032 | 2021-11-29 15:35:56 -0500 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.ACCESS_SHORTCUTS" /> |
| 27 | <uses-permission android:name="android.permission.BIND_RESOLVER_RANKER_SERVICE" /> |
Matt Casey | 923cf11 | 2022-02-22 22:10:30 -0500 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
Joshua Trask | 6538ea6 | 2021-11-17 15:35:03 -0500 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.MANAGE_APP_PREDICTIONS" /> |
| 30 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
Joshua Trask | 0052078 | 2021-11-23 10:46:05 -0500 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" /> |
Joshua Trask | 718989e | 2021-11-29 12:47:46 -0500 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> |
Joshua Trask | 6538ea6 | 2021-11-17 15:35:03 -0500 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" /> |
Matt Casey | 37f9086 | 2022-02-01 20:52:20 -0500 | [diff] [blame] | 34 | <uses-permission android:name="android.permission.SET_CLIP_SOURCE" /> |
Joshua Trask | e514d3d | 2021-11-01 17:12:57 -0400 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.START_ACTIVITY_AS_CALLER" /> |
Joshua Trask | f202032 | 2021-11-29 15:35:56 -0500 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.UNLIMITED_SHORTCUTS_API_CALLS" /> |
Joshua Trask | e514d3d | 2021-11-01 17:12:57 -0400 | [diff] [blame] | 37 | |
| 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 Trask | 89e88bf | 2022-08-31 14:04:10 -0400 | [diff] [blame] | 45 | <!-- 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 Trask | e514d3d | 2021-11-01 17:12:57 -0400 | [diff] [blame] | 51 | <activity android:name=".ChooserActivity" |
Matt Casey | bca35af | 2022-02-01 21:55:27 -0500 | [diff] [blame] | 52 | android:theme="@style/Theme.DeviceDefault.Chooser" |
Joshua Trask | e514d3d | 2021-11-01 17:12:57 -0400 | [diff] [blame] | 53 | 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 Trask | 89e88bf | 2022-08-31 14:04:10 -0400 | [diff] [blame] | 59 | 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 Trask | e514d3d | 2021-11-01 17:12:57 -0400 | [diff] [blame] | 67 | <action android:name="android.intent.action.CHOOSER" /> |
Joshua Trask | 89e88bf | 2022-08-31 14:04:10 -0400 | [diff] [blame] | 68 | <category android:name="android.intent.category.DEFAULT" /> |
Joshua Trask | e514d3d | 2021-11-01 17:12:57 -0400 | [diff] [blame] | 69 | <category android:name="android.intent.category.VOICE" /> |
| 70 | </intent-filter> |
| 71 | </activity> |
| 72 | |
| 73 | </application> |
| 74 | |
| 75 | </manifest> |