From 52743e0475d2fd25b88ade1e916e90fd777df8d9 Mon Sep 17 00:00:00 2001 From: Damillora Date: Tue, 7 Jun 2022 09:10:57 +0000 Subject: [PATCH] switch wallpaper picker --- base.mk | 4 ++++ .../base/core/res/res/values/config.xml | 1 - .../apps/Settings/res/values/config.xml | 21 +++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 overlay/frameworks/packages/apps/Settings/res/values/config.xml diff --git a/base.mk b/base.mk index ada5526..d51df17 100644 --- a/base.mk +++ b/base.mk @@ -224,6 +224,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PACKAGES += \ NavigationBarMode2ButtonOverlay +# ThemePicker +PRODUCT_PACKAGES += \ + ThemePicker + PRODUCT_PACKAGES += \ oplus-alert-slider diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 0bc3350..045f4b3 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -22,7 +22,6 @@ "M50 0C77.6 0 100 22.4 100 50C100 77.6 77.6 100 50 100C22.4 100 0 77.6 0 50C0 22.4 22.4 0 50 0Z" true - com.android.wallpaperpicker true 5 true diff --git a/overlay/frameworks/packages/apps/Settings/res/values/config.xml b/overlay/frameworks/packages/apps/Settings/res/values/config.xml new file mode 100644 index 0000000..4c6aebf --- /dev/null +++ b/overlay/frameworks/packages/apps/Settings/res/values/config.xml @@ -0,0 +1,21 @@ + + + + + com.android.wallpaper + com.android.customization.picker.CustomizationPickerActivity + + + com.android.customization.picker.CustomizationPickerActivity +