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" 18 package="com.android.cts.ephemeralapp2" 19 android:targetSandboxVersion="2"> 20 <uses-sdk 21 android:minSdkVersion="24" /> 22 23 <!-- TEST: exists only for testing ephemeral app1 can't see this app --> 24 <application 25 android:label="@string/app_name"> 26 <uses-library android:name="android.test.runner" /> 27 <activity 28 android:name=".EphemeralActivity" 29 android:theme="@android:style/Theme.NoDisplay"> 30 <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" /> 36 <data android:path="/other" /> 37 </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> 46 </activity> 47 48 <!-- This should still not be visible to other Instant Apps --> 49 <activity 50 android:name=".ExposedActivity" 51 android:visibleToInstantApps="true" 52 android:theme="@android:style/Theme.NoDisplay" /> 53 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> 63 </application> 64 65 <instrumentation 66 android:name="android.support.test.runner.AndroidJUnitRunner" 67 android:targetPackage="com.android.cts.ephemeralapp2" /> 68 </manifest> 69