1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 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.splitapp"
19    android:targetSandboxVersion="2">
20
21    <!-- TODO(b/73365611) Remove targetSdkVersion once EncryptionApp tests
22         are fixed to no longer access SplitApp's data by path. -->
23    <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="27" />
24
25    <uses-permission android:name="android.permission.CAMERA" />
26    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
27
28    <application android:label="SplitApp">
29        <activity android:name=".MyActivity" android:visibleToInstantApps="true">
30            <intent-filter>
31                <action android:name="android.intent.action.MAIN" />
32                <category android:name="android.intent.category.LAUNCHER" />
33            </intent-filter>
34            <meta-data android:name="android.service.wallpaper" android:resource="@xml/my_activity_meta" />
35        </activity>
36        <receiver android:name=".MyReceiver"
37                android:enabled="@bool/my_receiver_enabled">
38            <intent-filter>
39                <action android:name="android.intent.action.DATE_CHANGED" />
40            </intent-filter>
41        </receiver>
42        <receiver android:name=".LockedBootReceiver" android:exported="true" android:directBootAware="true">
43            <intent-filter>
44                <action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
45            </intent-filter>
46        </receiver>
47        <receiver android:name=".BootReceiver" android:exported="true">
48            <intent-filter>
49                <action android:name="android.intent.action.BOOT_COMPLETED" />
50            </intent-filter>
51        </receiver>
52
53        <uses-library android:name="android.test.runner" />
54    </application>
55
56    <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
57        android:targetPackage="com.android.cts.splitapp" />
58
59</manifest>
60