| <?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.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" /> |
| |
| <application |
| android:hardwareAccelerated="true" |
| android:label="@string/app_label" |
| android:directBootAware="true" |
| android:forceQueryable="true" |
| android:supportsRtl="true"> |
| |
| <!-- This activity is enabled or disabled by the ChooserSelector |
| component, based on the flag flipper experiment (1500). It's |
| initially disabled here only as an extra precaution, since it |
| should be disabled by ChooserSelector on startup regardless. |
| TODO: if this graduates from its experiment (and ChooserSelector |
| is removed), this should be set to default-enabled. --> |
| <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|orientation|keyboard|keyboardHidden" |
| android:visibleToInstantApps="true" |
| android:exported="true" |
| android:enabled="false"> |
| |
| <!-- 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> |
| |
| </application> |
| |
| </manifest> |