1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2023 The Android Open Source Project
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9          http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16-->
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18    package="com.google.android.wallpaper.weathereffects">
19    <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
20
21    <uses-feature
22        android:name="android.software.live_wallpaper"
23        android:required="true" />
24    <uses-permission android:name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" />
25
26    <queries>
27        <package android:name="com.google.android.apps.wallpaper" />
28        <package android:name="com.android.wallpaper" />
29    </queries>
30
31    <application
32        android:name=".WallpaperEffectsDebugApplication"
33        android:icon="@mipmap/ic_launcher">
34        <provider
35            android:name="com.google.android.wallpaper.weathereffects.provider.WeatherEffectsContentProvider"
36            android:authorities="${applicationId}.effectprovider"
37            android:exported="true" />
38        <service android:name="com.google.android.wallpaper.weathereffects.WeatherWallpaperService"
39            android:directBootAware="true"
40            android:exported="true"
41            android:label="@string/app_name"
42            android:permission="android.permission.BIND_WALLPAPER">
43            <intent-filter>
44                <action android:name="android.service.wallpaper.WallpaperService" />
45            </intent-filter>
46
47            <meta-data
48                android:name="android.service.wallpaper"
49                android:resource="@xml/weather_wallpaper" />
50        </service>
51
52        <activity
53            android:name=".WallpaperEffectsDebugActivity"
54            android:configChanges="uiMode"
55            android:exported="true"
56            android:theme="@style/Theme.WeatherTheme.NoActionBar"
57            android:finishOnTaskLaunch="true"
58            android:label="Weather Effects"
59            android:launchMode="singleInstance">
60
61            <intent-filter>
62                <action android:name="android.intent.action.MAIN" />
63                <category android:name="android.intent.category.LAUNCHER" />
64            </intent-filter>
65        </activity>
66    </application>
67
68</manifest>
69