• 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      <intent>
59          <action android:name="com.android.photopicker.core.embedded.EmbeddedService.BIND" />
60      </intent>
61  </queries>
62
63  <application
64      tools:replace="android:icon,android:name,android:appComponentFactory"
65      android:appComponentFactory="androidx.core.app.CoreComponentFactory"
66      android:allowBackup="true"
67      android:icon="@mipmap/product_logo_wallpapers_launcher_color_48"
68      android:label="@string/app_name"
69      android:name="com.android.wallpaper.picker.WallpapersApplication"
70      android:requiredForAllUsers="true"
71      android:restoreAnyVersion="true"
72      android:enableOnBackInvokedCallback="false"
73      android:supportsRtl="true">
74
75    <meta-data android:name="com.android.wallpaper.asset.WallpaperGlideModule"
76         android:value="GlideModule"/>
77
78    <activity android:name="com.android.wallpaper.picker.CustomizationPickerActivity"
79        android:label="@string/app_name"
80        android:relinquishTaskIdentity="true"
81        android:resizeableActivity="false"
82        android:theme="@style/WallpaperTheme.NoBackground"
83        android:exported="true">
84    </activity>
85
86    <activity android:name="com.android.wallpaper.picker.customization.ui.CustomizationPickerActivity2"
87        android:label="@string/app_name"
88        android:relinquishTaskIdentity="true"
89        android:resizeableActivity="false"
90        android:theme="@style/WallpaperTheme.NoBackground"
91        android:configChanges="assetsPaths|uiMode"
92        android:exported="true">
93    </activity>
94
95    <activity android:name="com.android.wallpaper.picker.PassThroughCustomizationPickerActivity"
96        android:label="@string/app_name"
97        android:resizeableActivity="false"
98        android:theme="@style/WallpaperTheme.NoBackground"
99        android:exported="true">
100    </activity>
101
102    <activity android:name="com.android.wallpaper.picker.TrampolinePickerActivity"
103        android:label="@string/app_name"
104        android:relinquishTaskIdentity="true"
105        android:resizeableActivity="false"
106        android:theme="@style/WallpaperTheme.NoBackground"
107        android:exported="true">
108        <intent-filter>
109            <action android:name="android.intent.action.SET_WALLPAPER"/>
110            <category android:name="android.intent.category.DEFAULT"/>
111        </intent-filter>
112    </activity>
113
114    <activity android:name="com.android.wallpaper.picker.DeepLinkActivity"
115        android:theme="@style/WallpaperTheme.NoBackground"
116        android:exported="true">
117        <intent-filter android:autoVerify="true">
118            <action android:name="android.intent.action.VIEW" />
119            <category android:name="android.intent.category.DEFAULT" />
120            <category android:name="android.intent.category.BROWSABLE" />
121            <data
122                android:host="g.co"
123                android:pathPrefix="/wallpaper"
124                android:scheme="https" />
125        </intent-filter>
126    </activity>
127
128    <activity-alias
129        android:name="com.android.wallpaper.picker.CategoryPickerActivity"
130        android:targetActivity="com.android.wallpaper.picker.TrampolinePickerActivity"
131        android:label="@string/app_name"
132        android:exported="true">
133      <intent-filter>
134        <action android:name="android.intent.action.MAIN"/>
135      </intent-filter>
136    </activity-alias>
137
138    <activity android:name="com.android.wallpaper.picker.PreviewActivity"
139         android:resizeableActivity="false"
140         android:theme="@style/WallpaperTheme.Preview">
141    </activity>
142
143    <activity
144         android:name="com.android.wallpaper.picker.FullPreviewActivity"
145         android:taskAffinity="@string/full_screen_task_affinity"
146         android:resizeableActivity="false"
147         android:theme="@style/WallpaperTheme.Preview">
148    </activity>
149
150      <activity
151          android:name="com.android.wallpaper.picker.preview.ui.WallpaperPreviewActivity"
152          android:excludeFromRecents="true"
153          android:taskAffinity="@string/multi_crop_task_affinity"
154          android:resizeableActivity="true"
155          android:screenOrientation="locked"
156          android:theme="@style/WallpaperTheme.Preview">
157      </activity>
158
159    <activity android:name="com.android.wallpaper.picker.StandalonePreviewActivity"
160         android:resizeableActivity="false"
161         android:relinquishTaskIdentity="true"
162         android:theme="@style/WallpaperTheme.Preview"
163         android:exported="true">
164      <intent-filter>
165        <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER"/>
166        <category android:name="android.intent.category.DEFAULT"/>
167        <data android:mimeType="image/*"/>
168      </intent-filter>
169    </activity>
170
171    <activity android:name="com.android.wallpaper.picker.ViewOnlyPreviewActivity"
172         android:resizeableActivity="false"
173         android:theme="@style/WallpaperTheme.Preview">
174    </activity>
175  </application>
176
177</manifest>
178