• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2
3<!-- The package name here must match the Studio namespace given in
4     WallpaperPickerGoogle gradle config for Studio builds to succeed.
5     `package_name` in Android.bp overrides this with the actual package name.
6 -->
7<manifest xmlns:android="http://schemas.android.com/apk/res/android"
8     xmlns:tools="http://schemas.android.com/tools"
9     package="com.google.android.apps.wallpaper">
10
11  <!-- Custom permission to enforce that only this app can notify the running live wallpaper that
12             the rotating wallpaper image data changed. -->
13  <permission android:name="com.android.wallpaper.NOTIFY_ROTATING_WALLPAPER_CHANGED"
14       android:protectionLevel="signature"/>
15
16  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
17  <uses-permission android:name="android.permission.CUSTOMIZE_SYSTEM_UI" />
18  <uses-permission android:name="android.permission.LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK" />
19  <uses-permission android:name="android.permission.INTERNET"/>
20  <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
21  <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
22  <uses-permission android:name="android.permission.READ_WALLPAPER_INTERNAL" />
23  <uses-permission android:name="android.permission.SET_WALLPAPER"/>
24  <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
25  <uses-permission android:name="android.permission.BIND_WALLPAPER" />
26  <uses-permission android:name="android.permission.WAKE_LOCK"/>
27  <uses-permission android:name="com.android.wallpaper.NOTIFY_ROTATING_WALLPAPER_CHANGED"/>
28  <uses-permission android:name="android.permission.SET_WALLPAPER_DIM_AMOUNT" />
29
30  <queries>
31      <!-- Specific intents Wallpaper picker query for -->
32      <!-- Intent filter with action SET_WALLPAPER -->
33      <intent>
34          <action android:name="android.intent.action.SET_WALLPAPER" />
35      </intent>
36      <!-- Intent filter with action GET_CONTENT and data's mimeType as "image/*" -->
37      <intent>
38          <action android:name="android.intent.action.GET_CONTENT" />
39          <data android:mimeType="image/*" />
40      </intent>
41      <!-- Intent filter with action VIEW -->
42      <intent>
43          <action android:name="android.intent.action.VIEW" />
44      </intent>
45      <!-- Intent filter with action WallpaperService (live wallpaper interface) -->
46      <intent>
47          <action android:name="android.service.wallpaper.WallpaperService" />
48      </intent>
49      <!-- Intent filter with action used to discover partner -->
50      <intent>
51          <action android:name="com.android.launcher3.action.PARTNER_CUSTOMIZATION" />
52      </intent>
53      <!-- Intent filter used to query the launcher Activity for grid preview metadata -->
54        <intent>
55            <action android:name="android.intent.action.MAIN" />
56            <category android:name="android.intent.category.HOME" />
57        </intent>
58  </queries>
59
60  <application
61      tools:replace="android:icon,android:name,android:appComponentFactory"
62      android:appComponentFactory="androidx.core.app.CoreComponentFactory"
63      android:allowBackup="true"
64      android:icon="@mipmap/product_logo_wallpapers_launcher_color_48"
65      android:label="@string/app_name"
66      android:name="com.android.wallpaper.picker.WallpapersApplication"
67      android:requiredForAllUsers="true"
68      android:restoreAnyVersion="true"
69      android:supportsRtl="true">
70
71    <meta-data android:name="com.android.wallpaper.asset.WallpaperGlideModule"
72         android:value="GlideModule"/>
73
74    <activity android:name="com.android.wallpaper.picker.CustomizationPickerActivity"
75        android:label="@string/app_name"
76        android:relinquishTaskIdentity="true"
77        android:resizeableActivity="false"
78        android:theme="@style/WallpaperTheme.NoBackground"
79        android:exported="true">
80    </activity>
81
82    <activity android:name="com.android.wallpaper.picker.PassThroughCustomizationPickerActivity"
83        android:label="@string/app_name"
84        android:resizeableActivity="false"
85        android:theme="@style/WallpaperTheme.NoBackground"
86        android:exported="true">
87    </activity>
88
89    <activity android:name="com.android.wallpaper.picker.TrampolinePickerActivity"
90        android:label="@string/app_name"
91        android:relinquishTaskIdentity="true"
92        android:resizeableActivity="false"
93        android:theme="@style/WallpaperTheme.NoBackground"
94        android:exported="true">
95        <intent-filter>
96            <action android:name="android.intent.action.SET_WALLPAPER"/>
97            <category android:name="android.intent.category.DEFAULT"/>
98        </intent-filter>
99    </activity>
100
101    <activity android:name="com.android.wallpaper.picker.DeepLinkActivity"
102        android:theme="@style/WallpaperTheme.NoBackground"
103        android:exported="true">
104        <intent-filter android:autoVerify="true">
105            <action android:name="android.intent.action.VIEW" />
106            <category android:name="android.intent.category.DEFAULT" />
107            <category android:name="android.intent.category.BROWSABLE" />
108            <data
109                android:host="g.co"
110                android:pathPrefix="/wallpaper"
111                android:scheme="https" />
112        </intent-filter>
113    </activity>
114
115    <activity-alias
116        android:name="com.android.wallpaper.picker.CategoryPickerActivity"
117        android:targetActivity="com.android.wallpaper.picker.TrampolinePickerActivity"
118        android:label="@string/app_name"
119        android:exported="true">
120      <intent-filter>
121        <action android:name="android.intent.action.MAIN"/>
122      </intent-filter>
123    </activity-alias>
124
125    <activity android:name="com.android.wallpaper.picker.PreviewActivity"
126         android:resizeableActivity="false"
127         android:theme="@style/WallpaperTheme.Preview">
128    </activity>
129
130    <activity
131         android:name="com.android.wallpaper.picker.FullPreviewActivity"
132         android:taskAffinity="@string/full_screen_task_affinity"
133         android:resizeableActivity="false"
134         android:theme="@style/WallpaperTheme.Preview">
135    </activity>
136
137      <activity
138          android:name="com.android.wallpaper.picker.preview.ui.WallpaperPreviewActivity"
139          android:excludeFromRecents="true"
140          android:taskAffinity="@string/multi_crop_task_affinity"
141          android:resizeableActivity="false"
142          android:theme="@style/WallpaperTheme.Preview">
143      </activity>
144
145    <activity android:name="com.android.wallpaper.picker.StandalonePreviewActivity"
146         android:resizeableActivity="false"
147         android:relinquishTaskIdentity="true"
148         android:theme="@style/WallpaperTheme.Preview"
149         android:exported="true">
150      <intent-filter>
151        <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER"/>
152        <category android:name="android.intent.category.DEFAULT"/>
153        <data android:mimeType="image/*"/>
154      </intent-filter>
155    </activity>
156
157    <activity android:name="com.android.wallpaper.picker.ViewOnlyPreviewActivity"
158         android:resizeableActivity="false"
159         android:theme="@style/WallpaperTheme.Preview">
160    </activity>
161  </application>
162
163</manifest>
164