diff options
author | 2023-06-26 18:07:19 +0200 | |
---|---|---|
committer | 2023-07-13 15:09:06 +0000 | |
commit | 726f597a7e4eff7aebc2a2171508f8e4ae1bf7ea (patch) | |
tree | 16fb4c616cddf7e45059fdfd0b2cd923220601eb /AndroidManifest-app.xml | |
parent | 42802669f7278a7120d3acb7c746917b4a54fefb (diff) |
IntentResolver: prepare IntentResolver-core for client usage
- Creates "lib" AndroidManifest.xml containing the required permissions
- Adds proguard configuration file
Bug: 265905535
Change-Id: Ie24cd32c1816d349a3ba59ff206d9fc210f54a21
Diffstat (limited to 'AndroidManifest-app.xml')
-rw-r--r-- | AndroidManifest-app.xml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/AndroidManifest-app.xml b/AndroidManifest-app.xml new file mode 100644 index 00000000..d542e627 --- /dev/null +++ b/AndroidManifest-app.xml @@ -0,0 +1,67 @@ +<?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" + xmlns:tools="http://schemas.android.com/tools" + package="com.android.intentresolver" + android:versionCode="0" + android:versionName="2021-11" + coreApp="true"> + + <application + android:name=".IntentResolverApplication" + android:hardwareAccelerated="true" + android:label="@string/app_label" + android:directBootAware="true" + android:forceQueryable="true" + android:requiredForAllUsers="true" + android:supportsRtl="true" + tools:replace="android:appComponentFactory" + android:appComponentFactory=".IntentResolverAppComponentFactory"> + + <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="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> + + <receiver android:name=".ChooserActivityReEnabler" + android:exported="true"> + <intent-filter> + <action android:name="android.intent.action.BOOT_COMPLETED" /> + </intent-filter> + </receiver> + + </application> + +</manifest> |