blob: 78c282b3497468626b4dd7bdafc9f306a347324e [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"
Todd Kennedy82c1a822017-01-30 15:58:53 -080018 package="com.android.cts.ephemeralapp2"
19 android:targetSandboxVersion="2">
Todd Kennedy29614a72017-03-30 17:55:33 -070020 <uses-sdk
21 android:minSdkVersion="24" />
Todd Kennedy1ef56e72016-12-15 15:34:06 -080022
Todd Kennedy29614a72017-03-30 17:55:33 -070023 <!-- TEST: exists only for testing ephemeral app1 can't see this app -->
24 <application
Todd Kennedy1ef56e72016-12-15 15:34:06 -080025 android:label="@string/app_name">
26 <uses-library android:name="android.test.runner" />
27 <activity
Todd Kennedy29614a72017-03-30 17:55:33 -070028 android:name=".EphemeralActivity"
29 android:theme="@android:style/Theme.NoDisplay">
Todd Kennedy1ef56e72016-12-15 15:34:06 -080030 <intent-filter>
31 <action android:name="android.intent.action.VIEW" />
32 <category android:name="android.intent.category.DEFAULT" />
33 <category android:name="android.intent.category.BROWSABLE" />
34 <data android:scheme="https" />
35 <data android:host="cts.google.com" />
Todd Kennedyec3487c2016-12-19 13:45:48 -080036 <data android:path="/other" />
Todd Kennedy1ef56e72016-12-15 15:34:06 -080037 </intent-filter>
38 <intent-filter android:priority="0">
39 <action android:name="com.android.cts.ephemeraltest.QUERY" />
40 <category android:name="android.intent.category.DEFAULT" />
41 </intent-filter>
42 <intent-filter android:priority="0">
43 <action android:name="com.android.cts.ephemeraltest.START_EPHEMERAL" />
44 <category android:name="android.intent.category.DEFAULT" />
45 </intent-filter>
Todd Kennedy6e1b8562017-04-10 14:55:54 -070046 </activity>
47
48 <!-- This should still not be visible to other Instant Apps -->
49 <activity
50 android:name=".ExposedActivity"
Todd Kennedy29614a72017-03-30 17:55:33 -070051 android:visibleToInstantApps="true"
52 android:theme="@android:style/Theme.NoDisplay" />
Todd Kennedy6e1b8562017-04-10 14:55:54 -070053
54 <!-- This should still not be visible to other Instant Apps -->
55 <provider
56 android:name=".EphemeralProvider"
57 android:authorities="com.android.cts.ephemeralapp2.provider"
58 android:exported="true">
59 <intent-filter android:priority="0">
60 <action android:name="com.android.cts.ephemeraltest.QUERY" />
61 </intent-filter>
62 </provider>
Todd Kennedy1ef56e72016-12-15 15:34:06 -080063 </application>
64
65 <instrumentation
66 android:name="android.support.test.runner.AndroidJUnitRunner"
67 android:targetPackage="com.android.cts.ephemeralapp2" />
68</manifest>