blob: 28bef9d7310850bb2b9ea4eb7829471b2cd25692 [file] [log] [blame]
Rhed Jao795b42c2020-12-30 19:05:35 +08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2020 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 xmlns:tools="http://schemas.android.com/tools"
19 package="com.android.cts.splitapp"
20 android:targetSandboxVersion="2">
21
22 <!-- The androidx test libraries uses minSdkVersion 14. Applies an overrideLibrary rule here
23 to pass the build error, since tests need to use minSdkVersion 4. -->
24 <uses-sdk android:minSdkVersion="4" tools:overrideLibrary=
Brett Chabot72ae8762021-01-14 11:42:07 -080025 "androidx.test.runner, androidx.test.rules, androidx.test.monitor, androidx.test.services.storage"/>
Rhed Jao795b42c2020-12-30 19:05:35 +080026
27 <!-- Remove the CAMERA permission
28 <uses-permission android:name="android.permission.CAMERA"/> -->
29 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
30 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>
31 <!-- Add the VIBRATE permission -->
32 <uses-permission android:name="android.permission.VIBRATE"/>
33
34 <application android:label="SplitApp"
35 android:multiArch="true">
36 <!-- Updates to .revision_a.MyActivity -->
37 <activity android:name=".revision_a.MyActivity"
38 android:exported="true">
39 <intent-filter>
40 <action android:name="android.intent.action.MAIN"/>
41 <category android:name="android.intent.category.LAUNCHER"/>
42 </intent-filter>
43 <meta-data android:name="android.service.wallpaper"
44 android:resource="@xml/my_activity_meta"/>
45 </activity>
46 <activity android:name=".ThemeActivity" android:theme="@style/Theme_Base"
47 android:exported="false">
48 <intent-filter>
49 <action android:name="com.android.cts.splitapp.intent.THEME_TEST"/>
50 <category android:name="android.intent.category.DEFAULT"/>
51 </intent-filter>
52 </activity>
53 <!-- Updates to .revision_a.MyReceiver -->
54 <receiver android:name=".revision_a.MyReceiver"
55 android:enabled="@bool/my_receiver_enabled"
56 android:exported="true">
57 <intent-filter>
58 <action android:name="android.intent.action.DATE_CHANGED"/>
59 </intent-filter>
60 </receiver>
61 <receiver android:name=".LockedBootReceiver"
62 android:exported="true"
63 android:directBootAware="true">
64 <intent-filter>
65 <action android:name="android.intent.action.LOCKED_BOOT_COMPLETED"/>
66 </intent-filter>
67 </receiver>
68 <receiver android:name=".BootReceiver"
69 android:exported="true">
70 <intent-filter>
71 <action android:name="android.intent.action.BOOT_COMPLETED"/>
72 </intent-filter>
73 </receiver>
74
75 <!-- Updates to .revision_a.MyProvider -->
76 <provider android:name=".revision_a.MyProvider"
77 android:authorities="com.android.cts.splitapp"
78 android:exported="true"
79 android:directBootAware="true">
80 </provider>
81
82 <uses-library android:name="android.test.runner"/>
83 </application>
84
85 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
86 android:targetPackage="com.android.cts.splitapp"/>
87
88</manifest>