Skip to content

Commit 758accd

Browse files
committed
fixup! Settings: wallpaper picker: move to RRO
1 parent a4a905d commit 758accd

5 files changed

Lines changed: 9 additions & 6 deletions

File tree

config/common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ PRODUCT_PACKAGE_OVERLAYS += \
236236
PRODUCT_PACKAGES += \
237237
DocumentsUIOverlay \
238238
NetworkStackOverlay \
239-
WallpaperPickerOverlaySettings
239+
WallpaperPickerOverlay
240240

241241
# Translations
242242
CUSTOM_LOCALES += \

overlay/common/packages/apps/Settings/res/values/config.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@
2828
<bool name="config_show_mobile_plan">false</bool>
2929

3030
<!-- Whether wallpaper attribution should be shown or not. -->
31-
<bool name="config_show_wallpaper_attribution">false</bool>
31+
<bool name="config_show_wallpaper_attribution">true</bool>
32+
33+
<!-- Action name for the styles & wallpaper picker activity. -->
34+
<string name="config_styles_and_wallpaper_picker_action" translatable="false">
35+
android.intent.action.SET_WALLPAPER
36+
</string>
3237

3338
<!-- Whether memory from app_info_settings is available or not. -->
3439
<bool name="config_show_app_info_settings_memory">true</bool>

overlay/rro_packages/WallpaperPicker/Android.bp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
//
66

77
runtime_resource_overlay {
8-
name: "WallpaperPickerOverlaySettings",
8+
name: "WallpaperPickerOverlay",
99
product_specific: true,
1010
}

overlay/rro_packages/WallpaperPicker/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.wallpaper.picker.overlay.settings"
2+
package="com.wallpaper.picker.overlay"
33
android:versionCode="1"
44
android:versionName="1.0">
55
<overlay android:targetPackage="com.android.settings" android:priority="1" android:isStatic="true" />

overlay/rro_packages/WallpaperPicker/res/values/config.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
<string name="config_wallpaper_picker_package" translatable="false">com.android.wallpaper</string>
77
<!-- Fully-qualified class name for the styles & wallpaper picker activity. -->
88
<string name="config_styles_and_wallpaper_picker_class" translatable="false">com.android.customization.picker.CustomizationPickerActivity</string>
9-
<!-- Action name for the styles & wallpaper picker activity. -->
10-
<string name="config_styles_and_wallpaper_picker_action" translatable="false">android.intent.action.SET_WALLPAPER</string>
119

1210
</resources>

0 commit comments

Comments
 (0)