Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2016 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 18 | package="com.android.cts.ephemeralapp2"> |
| 19 | <uses-sdk android:minSdkVersion="24" |
| 20 | android:targetSdkVersion="26"/> |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 21 | |
Todd Kennedy | 29614a7 | 2017-03-30 17:55:33 -0700 | [diff] [blame] | 22 | <!-- TEST: exists only for testing ephemeral app1 can't see this app --> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 23 | <application android:label="@string/app_name"> |
| 24 | <uses-library android:name="android.test.runner"/> |
| 25 | <activity android:name=".EphemeralActivity" |
| 26 | android:theme="@android:style/Theme.NoDisplay" |
| 27 | android:exported="true"> |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 28 | <intent-filter> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 29 | <action android:name="android.intent.action.VIEW"/> |
| 30 | <category android:name="android.intent.category.DEFAULT"/> |
| 31 | <category android:name="android.intent.category.BROWSABLE"/> |
| 32 | <data android:scheme="https"/> |
| 33 | <data android:host="cts.google.com"/> |
| 34 | <data android:path="/other"/> |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 35 | </intent-filter> |
| 36 | <intent-filter android:priority="0"> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 37 | <action android:name="com.android.cts.ephemeraltest.QUERY"/> |
| 38 | <category android:name="android.intent.category.DEFAULT"/> |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 39 | </intent-filter> |
| 40 | <intent-filter android:priority="0"> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 41 | <action android:name="com.android.cts.ephemeraltest.START_EPHEMERAL"/> |
| 42 | <category android:name="android.intent.category.DEFAULT"/> |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 43 | </intent-filter> |
Todd Kennedy | efc74b4 | 2018-06-05 13:09:26 -0700 | [diff] [blame] | 44 | <intent-filter android:priority="0"> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 45 | <action android:name="com.android.cts.ephemeraltest.START_OTHER_EPHEMERAL"/> |
| 46 | <category android:name="android.intent.category.DEFAULT"/> |
Todd Kennedy | efc74b4 | 2018-06-05 13:09:26 -0700 | [diff] [blame] | 47 | </intent-filter> |
Todd Kennedy | 6f08b40 | 2018-03-14 07:35:55 -0700 | [diff] [blame] | 48 | <intent-filter> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 49 | <action android:name="android.intent.action.SEARCH"/> |
Todd Kennedy | 6f08b40 | 2018-03-14 07:35:55 -0700 | [diff] [blame] | 50 | </intent-filter> |
| 51 | <meta-data android:name="default-url" |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 52 | android:value="https://ephemeralapp2.cts.android.com/search"/> |
| 53 | <meta-data android:name="android.app.searchable" |
| 54 | android:resource="@xml/searchable"/> |
Todd Kennedy | 6e1b856 | 2017-04-10 14:55:54 -0700 | [diff] [blame] | 55 | </activity> |
Todd Kennedy | 6f08b40 | 2018-03-14 07:35:55 -0700 | [diff] [blame] | 56 | <provider android:name=".SearchSuggestionProvider" |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 57 | android:authorities="com.android.cts.ephemeralapp2.Search"/> |
Todd Kennedy | 6f08b40 | 2018-03-14 07:35:55 -0700 | [diff] [blame] | 58 | |
Todd Kennedy | 6e1b856 | 2017-04-10 14:55:54 -0700 | [diff] [blame] | 59 | |
| 60 | <!-- This should still not be visible to other Instant Apps --> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 61 | <activity android:name=".ExposedActivity" |
| 62 | android:visibleToInstantApps="true" |
| 63 | android:theme="@android:style/Theme.NoDisplay"/> |
Todd Kennedy | 6e1b856 | 2017-04-10 14:55:54 -0700 | [diff] [blame] | 64 | |
| 65 | <!-- This should still not be visible to other Instant Apps --> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 66 | <provider android:name=".EphemeralProvider" |
| 67 | android:authorities="com.android.cts.ephemeralapp2.provider" |
| 68 | android:exported="true"> |
Todd Kennedy | 6e1b856 | 2017-04-10 14:55:54 -0700 | [diff] [blame] | 69 | <intent-filter android:priority="0"> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 70 | <action android:name="com.android.cts.ephemeraltest.QUERY"/> |
Todd Kennedy | 6e1b856 | 2017-04-10 14:55:54 -0700 | [diff] [blame] | 71 | </intent-filter> |
| 72 | </provider> |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 73 | </application> |
| 74 | |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 75 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
| 76 | android:targetPackage="com.android.cts.ephemeralapp2"/> |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 77 | </manifest> |