1<?xml version="1.0" encoding="utf-8"?><!--
2  Copyright 2021 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
19    <application
20        android:name=".DemoApplication"
21        android:allowBackup="false"
22        android:icon="@mipmap/ic_launcher"
23        android:label="@string/demos_label"
24        android:supportsRtl="true">
25
26        <activity
27            android:name=".GlanceAppWidgetDemoActivity"
28            android:exported="true"
29            android:label="@string/demos_label"
30            android:windowSoftInputMode="adjustResize">
31            <intent-filter>
32                <action android:name="android.intent.action.MAIN" />
33                <category android:name="android.intent.category.LAUNCHER" />
34            </intent-filter>
35        </activity>
36
37        <activity
38            android:name=".SimpleWidgetViewer"
39            android:exported="true"
40            android:label="@string/demo_widget_viewer"
41            android:theme="@android:style/Theme.Material.Light.NoActionBar">
42            <intent-filter>
43                <action android:name="android.intent.action.MAIN" />
44                <category android:name="android.intent.category.LAUNCHER" />
45            </intent-filter>
46        </activity>
47        <receiver android:name=".CustomUnmanagedSessionReceiver"
48            android:enabled="true"
49            android:exported="false" />
50
51        <activity android:name=".ActionDemoActivity" />
52
53        <activity
54            android:name=".ListClickDestinationActivity"
55            android:exported="false" />
56
57        <activity
58            android:name=".ErrorUiAppWidgetConfigurationActivity"
59            android:exported="false">
60            <intent-filter>
61                <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
62            </intent-filter>
63        </activity>
64
65        <provider
66            android:name="androidx.glance.appwidget.demos.ImageAppWidgetImageContentProvider"
67            android:authorities="androidx.glance.appwidget.demos"
68            android:enabled="true"
69            android:exported="true" />
70
71        <receiver
72            android:name="androidx.glance.appwidget.demos.ResponsiveAppWidgetReceiver"
73            android:enabled="@bool/glance_appwidget_available"
74            android:exported="false"
75            android:label="@string/responsive_widget_name">
76            <intent-filter>
77                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
78                <action android:name="android.intent.action.LOCALE_CHANGED" />
79            </intent-filter>
80            <meta-data
81                android:name="android.appwidget.provider"
82                android:resource="@xml/default_app_widget_info" />
83        </receiver>
84
85        <receiver
86            android:name="androidx.glance.appwidget.demos.ExactAppWidgetReceiver"
87            android:enabled="@bool/glance_appwidget_available"
88            android:exported="false"
89            android:label="@string/exact_widget_name">
90            <intent-filter>
91                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
92                <action android:name="android.intent.action.LOCALE_CHANGED" />
93            </intent-filter>
94            <meta-data
95                android:name="android.appwidget.provider"
96                android:resource="@xml/default_app_widget_info" />
97        </receiver>
98
99        <receiver
100            android:name="androidx.glance.appwidget.demos.ResizingAppWidgetReceiver"
101            android:enabled="@bool/glance_appwidget_available"
102            android:exported="false"
103            android:label="@string/resizing_widget_name">
104            <intent-filter>
105                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
106                <action android:name="android.intent.action.LOCALE_CHANGED" />
107            </intent-filter>
108            <meta-data
109                android:name="android.appwidget.provider"
110                android:resource="@xml/default_app_widget_info" />
111        </receiver>
112
113        <receiver
114            android:name="androidx.glance.appwidget.demos.CompoundButtonAppWidgetReceiver"
115            android:enabled="@bool/glance_appwidget_available"
116            android:exported="false"
117            android:label="@string/compound_button_widget_name">
118            <intent-filter>
119                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
120            </intent-filter>
121            <meta-data
122                android:name="android.appwidget.provider"
123                android:resource="@xml/default_app_widget_info" />
124        </receiver>
125
126        <receiver
127            android:name="androidx.glance.appwidget.demos.ActionAppWidgetReceiver"
128            android:enabled="@bool/glance_appwidget_available"
129            android:exported="false"
130            android:label="@string/action_widget_name">
131            <intent-filter>
132                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
133                <action android:name="android.intent.action.LOCALE_CHANGED" />
134            </intent-filter>
135            <meta-data
136                android:name="android.appwidget.provider"
137                android:resource="@xml/action_app_widget_info" />
138        </receiver>
139
140        <receiver
141            android:name="androidx.glance.appwidget.demos.ErrorUiAppWidgetReceiver"
142            android:enabled="@bool/glance_appwidget_available"
143            android:exported="false"
144            android:label="@string/error_widget_name">
145            <intent-filter>
146                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
147                <action android:name="android.intent.action.LOCALE_CHANGED" />
148            </intent-filter>
149            <meta-data
150                android:name="android.appwidget.provider"
151                android:resource="@xml/error_ui_demo_app_widget_info" />
152        </receiver>
153
154        <receiver
155            android:name="androidx.glance.appwidget.demos.FontDemoAppWidgetReceiver"
156            android:enabled="@bool/glance_appwidget_available"
157            android:exported="false"
158            android:label="@string/font_widget_name">
159            <intent-filter>
160                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
161                <action android:name="android.intent.action.LOCALE_CHANGED" />
162            </intent-filter>
163            <meta-data
164                android:name="android.appwidget.provider"
165                android:resource="@xml/default_app_widget_info" />
166        </receiver>
167
168        <receiver
169            android:name="androidx.glance.appwidget.demos.TypographyDemoAppWidgetReceiver"
170            android:enabled="@bool/glance_appwidget_available"
171            android:exported="false"
172            android:label="@string/typography_widget_name">
173            <intent-filter>
174                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
175            </intent-filter>
176            <meta-data
177                android:name="android.appwidget.provider"
178                android:resource="@xml/default_app_widget_info" />
179        </receiver>
180
181        <receiver
182            android:name="androidx.glance.appwidget.demos.ScrollableAppWidgetReceiver"
183            android:enabled="@bool/glance_appwidget_available"
184            android:exported="false"
185            android:label="@string/scrollable_widget_name">
186            <intent-filter>
187                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
188            </intent-filter>
189            <meta-data
190                android:name="android.appwidget.provider"
191                android:resource="@xml/default_app_widget_info" />
192        </receiver>
193
194        <receiver
195            android:name="androidx.glance.appwidget.demos.ImageAppWidgetReceiver"
196            android:enabled="@bool/glance_appwidget_available"
197            android:exported="false"
198            android:label="@string/image_widget_name">
199            <intent-filter>
200                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
201            </intent-filter>
202            <meta-data
203                android:name="android.appwidget.provider"
204                android:resource="@xml/default_app_widget_info" />
205        </receiver>
206
207        <receiver
208            android:name="androidx.glance.appwidget.demos.RippleAppWidgetReceiver"
209            android:enabled="@bool/glance_appwidget_available"
210            android:exported="false"
211            android:label="@string/ripple_widget_name">
212            <intent-filter>
213                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
214            </intent-filter>
215            <meta-data
216                android:name="android.appwidget.provider"
217                android:resource="@xml/default_app_widget_info" />
218        </receiver>
219
220        <receiver
221            android:name="androidx.glance.appwidget.demos.RemoteViewsWidgetReceiver"
222            android:enabled="@bool/glance_appwidget_available"
223            android:exported="false"
224            android:label="@string/remote_views_widget_name">
225            <intent-filter>
226                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
227            </intent-filter>
228            <meta-data
229                android:name="android.appwidget.provider"
230                android:resource="@xml/default_app_widget_info" />
231        </receiver>
232
233        <receiver
234            android:name="androidx.glance.appwidget.demos.VerticalGridAppWidgetReceiver"
235            android:enabled="@bool/glance_appwidget_available"
236            android:exported="false"
237            android:label="@string/grid_widget_name">
238            <intent-filter>
239                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
240            </intent-filter>
241            <meta-data
242                android:name="android.appwidget.provider"
243                android:resource="@xml/default_app_widget_info" />
244        </receiver>
245
246        <receiver
247            android:name="androidx.glance.appwidget.demos.DefaultStateAppWidgetReceiver"
248            android:enabled="@bool/glance_appwidget_available"
249            android:exported="false"
250            android:label="@string/default_state_widget_name">
251            <intent-filter>
252                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
253            </intent-filter>
254            <meta-data
255                android:name="android.appwidget.provider"
256                android:resource="@xml/default_app_widget_info" />
257        </receiver>
258
259        <receiver
260            android:name="androidx.glance.appwidget.demos.ProgressIndicatorAppWidgetReceiver"
261            android:enabled="@bool/glance_appwidget_available"
262            android:exported="false"
263            android:label="@string/progress_indicator_widget_name">
264            <intent-filter>
265                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
266            </intent-filter>
267            <meta-data
268                android:name="android.appwidget.provider"
269                android:resource="@xml/progress_indicator_demo_widget_info" />
270        </receiver>
271
272        <receiver
273            android:name="androidx.glance.appwidget.demos.DefaultColorsAppWidgetReceiver"
274            android:enabled="@bool/glance_appwidget_available"
275            android:exported="false"
276            android:label="@string/default_color_widget_name">
277            <intent-filter>
278                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
279            </intent-filter>
280            <meta-data
281                android:name="android.appwidget.provider"
282                android:resource="@xml/default_app_widget_info" />
283        </receiver>
284
285        <receiver
286            android:name="androidx.glance.appwidget.demos.ButtonsWidgetBroadcastReceiver"
287            android:enabled="@bool/glance_appwidget_available"
288            android:exported="false"
289            android:label="@string/buttons_widget_name">
290            <intent-filter>
291                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
292                <action android:name="android.intent.action.LOCALE_CHANGED" />
293            </intent-filter>
294            <meta-data
295                android:name="android.appwidget.provider"
296                android:resource="@xml/default_app_widget_info" />
297        </receiver>
298
299        <receiver
300            android:name="androidx.glance.appwidget.demos.BackgroundTintWidgetBroadcastReceiver"
301            android:enabled="@bool/glance_appwidget_available"
302            android:exported="false"
303            android:label="@string/tint_widget">
304            <intent-filter>
305                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
306            </intent-filter>
307            <meta-data
308                android:name="android.appwidget.provider"
309                android:resource="@xml/default_app_widget_info" />
310        </receiver>
311
312        <receiver
313            android:name="androidx.glance.appwidget.demos.TitleBarWidgetBroadcastReceiver"
314            android:enabled="@bool/glance_appwidget_available"
315            android:exported="false"
316            android:label="@string/title_bar_widget">
317            <intent-filter>
318                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
319            </intent-filter>
320            <meta-data
321                android:name="android.appwidget.provider"
322                android:resource="@xml/default_app_widget_info" />
323        </receiver>
324
325        <receiver
326            android:name="androidx.glance.appwidget.demos.ContentDescriptionAppWidgetReceiver"
327            android:enabled="@bool/glance_appwidget_available"
328            android:exported="false"
329            android:label="@string/content_description_widget_name">
330            <intent-filter>
331                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
332            </intent-filter>
333            <meta-data
334                android:name="android.appwidget.provider"
335                android:resource="@xml/default_app_widget_info" />
336        </receiver>
337
338        <service
339            android:name=".ActionDemoService"
340            android:exported="true" />
341    </application>
342</manifest>
343