summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
blob: 4282a08d7851c8a3c3e80f621b62b169d42dfbf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:tools="http://schemas.android.com/tools"
          package="com.android.wallpaper">

    <uses-sdk android:targetSdkVersion="30" android:minSdkVersion="28"/>

    <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
    <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
    <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
    <uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE" />
    <uses-permission android:name="android.permission.ACCESS_KEYGUARD_QUICK_AFFORDANCES" />

    <queries>
        <!-- Specific intents Wallpaper picker query for -->
        <!-- Package for theme stub -->
        <package android:name="com.android.customization.themes" />
        <!-- Intent filter with action SET_WALLPAPER -->
        <intent>
            <action android:name="android.intent.action.SET_WALLPAPER" />
        </intent>
        <!-- Intent filter with action GET_CONTENT and data's mimeType as "image/*" -->
        <intent>
            <action android:name="android.intent.action.GET_CONTENT" />
            <data android:mimeType="image/*" />
        </intent>
        <!-- Intent filter with action VIEW -->
        <intent>
            <action android:name="android.intent.action.VIEW" />
            <data android:scheme="http" />
        </intent>
        <!-- Intent filter with action WallpaperService (live wallpaper interface) -->
        <intent>
            <action android:name="android.service.wallpaper.WallpaperService" />
        </intent>
        <!-- Intent filter with action used to discover partner -->
        <intent>
            <action android:name="com.android.launcher3.action.PARTNER_CUSTOMIZATION" />
        </intent>
        <!-- Intent filter used to query the launcher Activity for grid preview metadata -->
        <intent>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.HOME" />
        </intent>
    </queries>

    <application
        tools:replace="android:icon,android:name"
        android:extractNativeLibs="false"
        android:hardwareAccelerated="true"
        android:icon="@drawable/ic_home"
        android:label="@string/app_name"
        android:requiredForAllUsers="true"
        android:restoreAnyVersion="true"
        android:supportsRtl="true"
        android:name="com.android.customization.picker.CustomizationPickerApplication"
        android:theme="@style/CustomizationTheme">
        <activity
            tools:node="replace"
            android:name="com.android.wallpaper.picker.CustomizationPickerActivity"
            android:label="@string/app_name"
            android:relinquishTaskIdentity="true"
            android:resizeableActivity="false"
            android:theme="@style/CustomizationTheme.NoActionBar"
            android:exported="false"/>

        <activity
            tools:node="replace"
            android:name="com.android.wallpaper.picker.PassThroughCustomizationPickerActivity"
            android:label="@string/app_name"
            android:resizeableActivity="false"
            android:theme="@style/CustomizationTheme.NoActionBar"
            android:exported="false"/>

        <activity
            tools:node="replace"
            android:name="com.android.wallpaper.picker.TrampolinePickerActivity"
            android:label="@string/app_name"
            android:relinquishTaskIdentity="true"
            android:resizeableActivity="false"
            android:theme="@style/CustomizationTheme.NoActionBar"
            android:exported="false"/>

        <activity-alias
            android:name="com.android.customization.picker.CustomizationPickerActivity"
            android:targetActivity="com.android.wallpaper.picker.TrampolinePickerActivity"
            android:label="@string/app_name"
            android:exported="true">
             <intent-filter>
                 <action android:name="android.intent.action.SET_WALLPAPER"/>
                 <category android:name="android.intent.category.DEFAULT"/>
             </intent-filter>
        </activity-alias>

    </application>
</manifest>