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