Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 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" |
Todd Kennedy | 82c1a82 | 2017-01-30 15:58:53 -0800 | [diff] [blame] | 18 | package="com.android.cts.ephemeralapp2" |
| 19 | android:targetSandboxVersion="2"> |
Todd Kennedy | 29614a7 | 2017-03-30 17:55:33 -0700 | [diff] [blame] | 20 | <uses-sdk |
| 21 | android:minSdkVersion="24" /> |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 22 | |
Todd Kennedy | 29614a7 | 2017-03-30 17:55:33 -0700 | [diff] [blame] | 23 | <!-- TEST: exists only for testing ephemeral app1 can't see this app --> |
| 24 | <application |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 25 | android:label="@string/app_name"> |
| 26 | <uses-library android:name="android.test.runner" /> |
| 27 | <activity |
Todd Kennedy | 29614a7 | 2017-03-30 17:55:33 -0700 | [diff] [blame] | 28 | android:name=".EphemeralActivity" |
| 29 | android:theme="@android:style/Theme.NoDisplay"> |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 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" /> |
Todd Kennedy | ec3487c | 2016-12-19 13:45:48 -0800 | [diff] [blame] | 36 | <data android:path="/other" /> |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 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> |
Todd Kennedy | 6e1b856 | 2017-04-10 14:55:54 -0700 | [diff] [blame^] | 46 | </activity> |
| 47 | |
| 48 | <!-- This should still not be visible to other Instant Apps --> |
| 49 | <activity |
| 50 | android:name=".ExposedActivity" |
Todd Kennedy | 29614a7 | 2017-03-30 17:55:33 -0700 | [diff] [blame] | 51 | android:visibleToInstantApps="true" |
| 52 | android:theme="@android:style/Theme.NoDisplay" /> |
Todd Kennedy | 6e1b856 | 2017-04-10 14:55:54 -0700 | [diff] [blame^] | 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> |
Todd Kennedy | 1ef56e7 | 2016-12-15 15:34:06 -0800 | [diff] [blame] | 63 | </application> |
| 64 | |
| 65 | <instrumentation |
| 66 | android:name="android.support.test.runner.AndroidJUnitRunner" |
| 67 | android:targetPackage="com.android.cts.ephemeralapp2" /> |
| 68 | </manifest> |