blob: 415b26801340931477841f9f47c32c73d322670a [file] [log] [blame]
Todd Kennedy1ef56e72016-12-15 15:34:06 -08001<?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 Oruganti62e39bb2020-05-29 16:14:30 -070018 package="com.android.cts.ephemeralapp2">
19 <uses-sdk android:minSdkVersion="24"
20 android:targetSdkVersion="26"/>
Todd Kennedy1ef56e72016-12-15 15:34:06 -080021
Todd Kennedy29614a72017-03-30 17:55:33 -070022 <!-- TEST: exists only for testing ephemeral app1 can't see this app -->
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070023 <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 Kennedy1ef56e72016-12-15 15:34:06 -080028 <intent-filter>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070029 <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 Kennedy1ef56e72016-12-15 15:34:06 -080035 </intent-filter>
36 <intent-filter android:priority="0">
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070037 <action android:name="com.android.cts.ephemeraltest.QUERY"/>
38 <category android:name="android.intent.category.DEFAULT"/>
Todd Kennedy1ef56e72016-12-15 15:34:06 -080039 </intent-filter>
40 <intent-filter android:priority="0">
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070041 <action android:name="com.android.cts.ephemeraltest.START_EPHEMERAL"/>
42 <category android:name="android.intent.category.DEFAULT"/>
Todd Kennedy1ef56e72016-12-15 15:34:06 -080043 </intent-filter>
Todd Kennedyefc74b42018-06-05 13:09:26 -070044 <intent-filter android:priority="0">
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070045 <action android:name="com.android.cts.ephemeraltest.START_OTHER_EPHEMERAL"/>
46 <category android:name="android.intent.category.DEFAULT"/>
Todd Kennedyefc74b42018-06-05 13:09:26 -070047 </intent-filter>
Todd Kennedy6f08b402018-03-14 07:35:55 -070048 <intent-filter>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070049 <action android:name="android.intent.action.SEARCH"/>
Todd Kennedy6f08b402018-03-14 07:35:55 -070050 </intent-filter>
51 <meta-data android:name="default-url"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070052 android:value="https://ephemeralapp2.cts.android.com/search"/>
53 <meta-data android:name="android.app.searchable"
54 android:resource="@xml/searchable"/>
Todd Kennedy6e1b8562017-04-10 14:55:54 -070055 </activity>
Todd Kennedy6f08b402018-03-14 07:35:55 -070056 <provider android:name=".SearchSuggestionProvider"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070057 android:authorities="com.android.cts.ephemeralapp2.Search"/>
Todd Kennedy6f08b402018-03-14 07:35:55 -070058
Todd Kennedy6e1b8562017-04-10 14:55:54 -070059
60 <!-- This should still not be visible to other Instant Apps -->
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070061 <activity android:name=".ExposedActivity"
62 android:visibleToInstantApps="true"
63 android:theme="@android:style/Theme.NoDisplay"/>
Todd Kennedy6e1b8562017-04-10 14:55:54 -070064
65 <!-- This should still not be visible to other Instant Apps -->
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070066 <provider android:name=".EphemeralProvider"
67 android:authorities="com.android.cts.ephemeralapp2.provider"
68 android:exported="true">
Todd Kennedy6e1b8562017-04-10 14:55:54 -070069 <intent-filter android:priority="0">
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070070 <action android:name="com.android.cts.ephemeraltest.QUERY"/>
Todd Kennedy6e1b8562017-04-10 14:55:54 -070071 </intent-filter>
72 </provider>
Todd Kennedy1ef56e72016-12-15 15:34:06 -080073 </application>
74
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070075 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
76 android:targetPackage="com.android.cts.ephemeralapp2"/>
Todd Kennedy1ef56e72016-12-15 15:34:06 -080077</manifest>