From fdca03a67b9de2c86aa2da31a678634242cbc519 Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Tue, 4 Apr 2023 11:21:27 +0000 Subject: [PATCH 1/2] ThemePicker: Adjust permission for changed packagename Change-Id: If81882ee61b9bcc652ff3c73f2507867c3d5a5a0 --- AndroidManifest.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 85eb9c69b..beced730e 100755 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -61,8 +61,8 @@ - - + + Date: Wed, 16 Oct 2024 19:11:04 +0530 Subject: [PATCH 2/2] ThemePicker: Remove wallpaper color selection --- .../module/DefaultCustomizationSections.java | 24 ++++++------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/src/com/android/customization/module/DefaultCustomizationSections.java b/src/com/android/customization/module/DefaultCustomizationSections.java index 9195e4a65..31df74cde 100644 --- a/src/com/android/customization/module/DefaultCustomizationSections.java +++ b/src/com/android/customization/module/DefaultCustomizationSections.java @@ -158,23 +158,13 @@ public final class DefaultCustomizationSections implements CustomizationSections customizationPickerViewModel)); sectionControllers.add( - new ConnectedSectionController( - // Theme color section. - new ColorSectionController( - sectionNavigationController, - new ViewModelProvider( - activity, - mColorPickerViewModelFactory) - .get(ColorPickerViewModel.class), - lifecycleOwner), - // Wallpaper quick switch section. - new WallpaperQuickSwitchSectionController( - customizationPickerViewModel.getWallpaperQuickSwitchViewModel( - screen), - lifecycleOwner, - sectionNavigationController, - savedInstanceState == null), - /* reverseOrderWhenHorizontal= */ true)); + // Wallpaper quick switch section. + new WallpaperQuickSwitchSectionController( + customizationPickerViewModel.getWallpaperQuickSwitchViewModel( + screen), + lifecycleOwner, + sectionNavigationController, + savedInstanceState == null)); switch (screen) { case LOCK_SCREEN: -- GitLab