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 <uses-sdk 20 android:minSdkVersion="24" android:targetSdkVersion="26" /> 21 22 <!-- TEST: exists only for testing ephemeral app1 can't see this app --> 23 <application 24 android:label="@string/app_name"> 25 <uses-library android:name="android.test.runner" /> 26 <activity 27 android:name=".EphemeralActivity" 28 android:theme="@android:style/Theme.NoDisplay"> 29 <intent-filter> 30 <action android:name="android.intent.action.VIEW" /> 31 <category android:name="android.intent.category.DEFAULT" /> 32 <category android:name="android.intent.category.BROWSABLE" /> 33 <data android:scheme="https" /> 34 <data android:host="cts.google.com" /> 35 <data android:path="/other" /> 36 </intent-filter> 37 <intent-filter android:priority="0"> 38 <action android:name="com.android.cts.ephemeraltest.QUERY" /> 39 <category android:name="android.intent.category.DEFAULT" /> 40 </intent-filter> 41 <intent-filter android:priority="0"> 42 <action android:name="com.android.cts.ephemeraltest.START_EPHEMERAL" /> 43 <category android:name="android.intent.category.DEFAULT" /> 44 </intent-filter> 45 <intent-filter android:priority="0"> 46 <action android:name="com.android.cts.ephemeraltest.START_OTHER_EPHEMERAL" /> 47 <category android:name="android.intent.category.DEFAULT" /> 48 </intent-filter> 49 <intent-filter> 50 <action android:name="android.intent.action.SEARCH" /> 51 </intent-filter> 52 <meta-data android:name="default-url" 53 android:value="https://ephemeralapp2.cts.android.com/search" /> 54 <meta-data 55 android:name="android.app.searchable" 56 android:resource="@xml/searchable" /> 57 </activity> 58 <provider android:name=".SearchSuggestionProvider" 59 android:authorities="com.android.cts.ephemeralapp2.Search" /> 60 61 62 <!-- This should still not be visible to other Instant Apps --> 63 <activity 64 android:name=".ExposedActivity" 65 android:visibleToInstantApps="true" 66 android:theme="@android:style/Theme.NoDisplay" /> 67 68 <!-- This should still not be visible to other Instant Apps --> 69 <provider 70 android:name=".EphemeralProvider" 71 android:authorities="com.android.cts.ephemeralapp2.provider" 72 android:exported="true"> 73 <intent-filter android:priority="0"> 74 <action android:name="com.android.cts.ephemeraltest.QUERY" /> 75 </intent-filter> 76 </provider> 77 </application> 78 79 <instrumentation 80 android:name="androidx.test.runner.AndroidJUnitRunner" 81 android:targetPackage="com.android.cts.ephemeralapp2" /> 82</manifest> 83