blob: e27806625fb661e766b49d800c94f6c230ad9550 [file] [log] [blame]
Santiago Etchebehere0c696912018-11-29 18:03:48 -08001<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Santiago Etchebehereab639852019-02-26 10:42:44 -08003 xmlns:tools="http://schemas.android.com/tools"
Santiago Etchebehereb356ed02019-02-08 09:46:32 -08004 package="com.android.wallpaper">
Santiago Etchebehere0c696912018-11-29 18:03:48 -08005
Santiago Etchebehere2790d742020-06-29 11:59:19 -07006 <uses-sdk android:targetSdkVersion="30" android:minSdkVersion="28"/>
Santiago Etchebehereb36df5d2019-01-17 11:32:59 -08007
8 <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
9 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
Santiago Etchebehere7a20a732019-04-22 18:13:12 -030010 <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
Danny Lin6ccc8142021-10-05 22:40:58 -070011 <uses-permission android:name="android.permission.BIND_WALLPAPER" />
Santiago Etchebehere151e6c52022-09-30 22:00:51 +000012 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Chihhang Chuangeecf85e2021-06-14 13:48:57 +080013 <uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE" />
Alejandro Nijamkin6238c2e2022-12-24 08:11:52 -080014 <uses-permission android:name="android.permission.CUSTOMIZE_SYSTEM_UI" />
Chihhang Chuangeecf85e2021-06-14 13:48:57 +080015
Ching-Sung Li336665b2021-04-13 21:14:09 +080016 <queries>
17 <!-- Specific intents Wallpaper picker query for -->
Kunhung Li7b10d5b2022-07-06 16:19:47 +080018 <!-- Package for theme stub -->
19 <package android:name="com.android.customization.themes" />
Ching-Sung Li336665b2021-04-13 21:14:09 +080020 <!-- Intent filter with action SET_WALLPAPER -->
21 <intent>
22 <action android:name="android.intent.action.SET_WALLPAPER" />
23 </intent>
24 <!-- Intent filter with action GET_CONTENT and data's mimeType as "image/*" -->
25 <intent>
26 <action android:name="android.intent.action.GET_CONTENT" />
27 <data android:mimeType="image/*" />
28 </intent>
29 <!-- Intent filter with action VIEW -->
30 <intent>
31 <action android:name="android.intent.action.VIEW" />
Ching-Sung Li6b3e6b12021-08-16 09:35:16 +080032 <data android:scheme="http" />
Ching-Sung Li336665b2021-04-13 21:14:09 +080033 </intent>
34 <!-- Intent filter with action WallpaperService (live wallpaper interface) -->
35 <intent>
36 <action android:name="android.service.wallpaper.WallpaperService" />
37 </intent>
38 <!-- Intent filter with action used to discover partner -->
39 <intent>
40 <action android:name="com.android.launcher3.action.PARTNER_CUSTOMIZATION" />
41 </intent>
Santiago Etchebehere151e6c52022-09-30 22:00:51 +000042 <!-- Intent filter used to query the launcher Activity for grid preview metadata -->
Danny Linac21d322021-10-05 19:12:40 -070043 <intent>
44 <action android:name="android.intent.action.MAIN" />
45 <category android:name="android.intent.category.HOME" />
46 </intent>
Tim Zimmermann60323d52022-08-20 19:13:19 +020047 <!-- Themes stub package -->
48 <package android:name="org.lineageos.customization" />
Ching-Sung Li336665b2021-04-13 21:14:09 +080049 </queries>
Santiago Etchebehereb36df5d2019-01-17 11:32:59 -080050
Luca Stefanib4bb3132019-11-01 23:17:08 +010051 <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
52 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
53
Santiago Etchebeherecca6d492018-12-04 18:29:48 -080054 <application
Hyunyoung Song472fcd12019-06-05 15:52:32 -070055 tools:replace="android:icon,android:name"
Santiago Etchebeherecca6d492018-12-04 18:29:48 -080056 android:extractNativeLibs="false"
57 android:hardwareAccelerated="true"
Asher Simonds5f7f51e2022-04-06 21:51:58 +020058 android:icon="@mipmap/ic_launcher"
Santiago Etchebeherecca6d492018-12-04 18:29:48 -080059 android:label="@string/app_name"
Santiago Etchebeherecca6d492018-12-04 18:29:48 -080060 android:requiredForAllUsers="true"
61 android:restoreAnyVersion="true"
Santiago Etchebehereb356ed02019-02-08 09:46:32 -080062 android:supportsRtl="true"
Santiago Etchebehereab639852019-02-26 10:42:44 -080063 android:name="com.android.customization.picker.CustomizationPickerApplication"
Hyunyoung Song472fcd12019-06-05 15:52:32 -070064 android:theme="@style/CustomizationTheme">
Santiago Etchebehereb356ed02019-02-08 09:46:32 -080065 <activity
Chihhang Chuangd2ece572021-06-17 22:40:26 +080066 tools:node="replace"
Chihhang Chuangeecf85e2021-06-14 13:48:57 +080067 android:name="com.android.wallpaper.picker.CustomizationPickerActivity"
Santiago Etchebeherecca6d492018-12-04 18:29:48 -080068 android:label="@string/app_name"
Ching-Sung Li304b04f2021-10-21 00:37:49 +080069 android:relinquishTaskIdentity="true"
Santiago Etchebehere742b8552019-11-07 14:25:20 -080070 android:resizeableActivity="false"
Chihhang Chuangeecf85e2021-06-14 13:48:57 +080071 android:theme="@style/CustomizationTheme.NoActionBar"
72 android:exported="false"/>
Santiago Etchebehereb356ed02019-02-08 09:46:32 -080073
Ching-Sung Li72bb9512022-04-13 21:58:12 +080074 <activity
75 tools:node="replace"
76 android:name="com.android.wallpaper.picker.PassThroughCustomizationPickerActivity"
77 android:label="@string/app_name"
78 android:resizeableActivity="false"
79 android:theme="@style/CustomizationTheme.NoActionBar"
80 android:exported="false"/>
81
82 <activity
83 tools:node="replace"
84 android:name="com.android.wallpaper.picker.TrampolinePickerActivity"
85 android:label="@string/app_name"
86 android:relinquishTaskIdentity="true"
87 android:resizeableActivity="false"
88 android:theme="@style/CustomizationTheme.NoActionBar"
89 android:exported="false"/>
90
Chihhang Chuangeecf85e2021-06-14 13:48:57 +080091 <activity-alias
92 android:name="com.android.customization.picker.CustomizationPickerActivity"
Ching-Sung Li72bb9512022-04-13 21:58:12 +080093 android:targetActivity="com.android.wallpaper.picker.TrampolinePickerActivity"
Chihhang Chuangeecf85e2021-06-14 13:48:57 +080094 android:label="@string/app_name"
95 android:exported="true">
96 <intent-filter>
97 <action android:name="android.intent.action.SET_WALLPAPER"/>
98 <category android:name="android.intent.category.DEFAULT"/>
99 </intent-filter>
100 </activity-alias>
101
Santiago Etchebeherecca6d492018-12-04 18:29:48 -0800102 </application>
Santiago Etchebehere0c696912018-11-29 18:03:48 -0800103</manifest>