1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3          xmlns:tools="http://schemas.android.com/tools"
4          package="com.android.wallpaper">
5
6    <uses-sdk android:targetSdkVersion="30" android:minSdkVersion="28"/>
7
8    <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
9    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
10    <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
11
12    <uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE" />
13
14    <queries>
15        <!-- Specific intents Wallpaper picker query for -->
16        <!-- Intent filter with action SET_WALLPAPER -->
17        <intent>
18            <action android:name="android.intent.action.SET_WALLPAPER" />
19        </intent>
20        <!-- Intent filter with action GET_CONTENT and data's mimeType as "image/*" -->
21        <intent>
22            <action android:name="android.intent.action.GET_CONTENT" />
23            <data android:mimeType="image/*" />
24        </intent>
25        <!-- Intent filter with action VIEW -->
26        <intent>
27            <action android:name="android.intent.action.VIEW" />
28            <data android:scheme="http" />
29        </intent>
30        <!-- Intent filter with action WallpaperService (live wallpaper interface) -->
31        <intent>
32            <action android:name="android.service.wallpaper.WallpaperService" />
33        </intent>
34        <!-- Intent filter with action used to discover partner -->
35        <intent>
36            <action android:name="com.android.launcher3.action.PARTNER_CUSTOMIZATION" />
37        </intent>
38    </queries>
39
40    <application
41        tools:replace="android:icon,android:name"
42        android:extractNativeLibs="false"
43        android:hardwareAccelerated="true"
44        android:icon="@drawable/ic_home"
45        android:label="@string/app_name"
46        android:requiredForAllUsers="true"
47        android:restoreAnyVersion="true"
48        android:supportsRtl="true"
49        android:name="com.android.customization.picker.CustomizationPickerApplication"
50        android:theme="@style/CustomizationTheme">
51        <activity
52            tools:node="replace"
53            android:name="com.android.wallpaper.picker.CustomizationPickerActivity"
54            android:label="@string/app_name"
55            android:relinquishTaskIdentity="true"
56            android:resizeableActivity="false"
57            android:theme="@style/CustomizationTheme.NoActionBar"
58            android:exported="false"/>
59
60        <activity-alias
61            android:name="com.android.customization.picker.CustomizationPickerActivity"
62            android:targetActivity="com.android.wallpaper.picker.CustomizationPickerActivity"
63            android:label="@string/app_name"
64            android:exported="true">
65             <intent-filter>
66                 <action android:name="android.intent.action.SET_WALLPAPER"/>
67                 <category android:name="android.intent.category.DEFAULT"/>
68             </intent-filter>
69        </activity-alias>
70
71    </application>
72</manifest>
73