| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2014 The Android Open Source Project |
| |
| 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.cts.intent.receiver"> |
| |
| <uses-sdk android:minSdkVersion="19"/> |
| |
| <uses-permission android:name="com.android.cts.managedprofile.permission.SAMPLE"/> |
| |
| <application android:testOnly="true"> |
| |
| <uses-library android:name="android.test.runner"/> |
| |
| <activity android:name="com.android.cts.intent.receiver.IntentReceiverActivity" |
| android:exported="true"> |
| <intent-filter> |
| <action android:name="com.android.cts.action.COPY_TO_CLIPBOARD"/> |
| <action android:name="com.android.cts.action.READ_FROM_URI"/> |
| <action android:name="com.android.cts.action.TAKE_PERSISTABLE_URI_PERMISSION"/> |
| <action android:name="com.android.cts.action.WRITE_TO_URI"/> |
| <action android:name="com.android.cts.action.NOTIFY_URI_CHANGE"/> |
| <action android:name="com.android.cts.action.OBSERVE_URI_CHANGE"/> |
| <action android:name="com.android.cts.action.JUST_CREATE"/> |
| <action android:name="com.android.cts.action.CREATE_AND_WAIT"/> |
| <category android:name="android.intent.category.DEFAULT"/> |
| </intent-filter> |
| </activity> |
| |
| <activity android:name=".SimpleIntentReceiverActivity" |
| android:exported="true"/> |
| |
| <activity-alias android:name=".BrowserActivity" |
| android:targetActivity=".SimpleIntentReceiverActivity" |
| android:exported="true"> |
| <intent-filter> |
| <action android:name="android.intent.action.VIEW"/> |
| <category android:name="android.intent.category.DEFAULT"/> |
| <category android:name="android.intent.category.BROWSABLE"/> |
| <data android:scheme="http"/> |
| </intent-filter> |
| </activity-alias> |
| |
| <activity-alias android:name=".AppLinkActivity" |
| android:targetActivity=".SimpleIntentReceiverActivity" |
| android:exported="true"> |
| <intent-filter> |
| <action android:name="android.intent.action.VIEW"/> |
| <category android:name="android.intent.category.DEFAULT"/> |
| <category android:name="android.intent.category.BROWSABLE"/> |
| <data android:scheme="http" |
| android:host="com.android.cts.intent.receiver"/> |
| </intent-filter> |
| </activity-alias> |
| |
| <receiver android:name=".BroadcastIntentReceiver" |
| android:exported="true"> |
| <intent-filter> |
| <action android:name="android.app.action.DEVICE_OWNER_CHANGED"/> |
| </intent-filter> |
| </receiver> |
| |
| </application> |
| |
| <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
| android:targetPackage="com.android.cts.intent.receiver" |
| android:label="Intent Receiver CTS Tests"/> |
| |
| </manifest> |