Home | History | Annotate | Download | only in EphemeralApp2
      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             <intent-filter android:priority="0">
     47                 <action android:name="com.android.cts.ephemeraltest.START_OTHER_EPHEMERAL" />
     48                 <category android:name="android.intent.category.DEFAULT" />
     49             </intent-filter>
     50             <intent-filter>
     51                 <action android:name="android.intent.action.SEARCH" />
     52             </intent-filter>
     53             <meta-data android:name="default-url"
     54                        android:value="https://ephemeralapp2.cts.android.com/search" />
     55             <meta-data
     56                        android:name="android.app.searchable"
     57                        android:resource="@xml/searchable" />
     58         </activity>
     59         <provider android:name=".SearchSuggestionProvider"
     60             android:authorities="com.android.cts.ephemeralapp2.Search" />
     61 
     62 
     63         <!-- This should still not be visible to other Instant Apps -->
     64         <activity
     65             android:name=".ExposedActivity"
     66             android:visibleToInstantApps="true"
     67             android:theme="@android:style/Theme.NoDisplay" />
     68 
     69         <!-- This should still not be visible to other Instant Apps -->
     70         <provider
     71             android:name=".EphemeralProvider"
     72             android:authorities="com.android.cts.ephemeralapp2.provider"
     73             android:exported="true">
     74             <intent-filter android:priority="0">
     75                 <action android:name="com.android.cts.ephemeraltest.QUERY" />
     76             </intent-filter>
     77         </provider>
     78     </application>
     79 
     80     <instrumentation
     81         android:name="android.support.test.runner.AndroidJUnitRunner"
     82         android:targetPackage="com.android.cts.ephemeralapp2" />
     83 </manifest>
     84