1<!--
2  Copyright 2025 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<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17    xmlns:tools="http://schemas.android.com/tools">
18    <instrumentation
19        android:name="androidx.test.runner.AndroidJUnitRunner"
20        android:targetPackage="androidx.glance.appwidget.multiprocess.test"
21        android:targetProcesses="androidx.glance.appwidget.multiprocess.test:custom" />
22
23    <application
24        android:name=".TestApplication"
25        android:allowBackup="false"
26        android:label="Glance App Widget Multiprocess Demos"
27        android:supportsRtl="true">
28
29        <activity android:name=".TestActivity"
30            android:exported="true"
31            android:process=":custom"
32            />
33
34        <receiver
35            android:name=".TestWidgetReceiver"
36            android:enabled="@bool/glance_appwidget_available"
37            android:exported="false"
38            android:process=":custom"
39            android:label="Custom process widget receiver">
40            <intent-filter>
41                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
42                <action android:name="android.intent.action.LOCALE_CHANGED" />
43            </intent-filter>
44            <meta-data
45                android:name="android.appwidget.provider"
46                android:resource="@xml/default_app_widget_info" />
47        </receiver>
48        <activity
49            android:name=".CustomActionTrampolineActivity"
50            android:excludeFromRecents="true"
51            android:theme="@android:style/Theme.NoDisplay"
52            android:exported="false"
53            android:process=":custom"
54            android:enabled="true" />
55        <activity
56            android:name=".CustomInvisibleTrampolineActivity"
57            android:exported="false"
58            android:taskAffinity="androidx.glance.appwidget.ListAdapterCallbackTrampoline"
59            android:theme="@style/Widget.Glance.AppWidget.CallbackTrampoline"
60            android:launchMode="singleInstance"
61            android:noHistory="true"
62            android:process=":custom"
63            android:enabled="true" />
64        <receiver
65            android:name=".CustomActionCallbackBroadcastReceiver"
66            android:exported="false"
67            android:process=":custom"
68            android:enabled="true" />
69        <service
70            android:name=".CustomRemoteViewsService"
71            android:permission="android.permission.BIND_REMOTEVIEWS"
72            android:exported="true"
73            android:process=":custom"
74            tools:ignore="MissingServiceExportedEqualsTrue" />
75        <service
76            android:name=".CustomWorkerService"
77            android:exported="false"
78            android:process=":custom"
79            tools:ignore="MissingServiceExportedEqualsTrue" />
80        <receiver
81            android:name=".CustomMyPackageReplacedReceiver"
82            android:exported="false"
83            android:process=":custom"
84            android:enabled="true">
85            <intent-filter>
86                <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
87            </intent-filter>
88        </receiver>
89    </application>
90</manifest>