Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d1b84ba authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make custom theme remember current selection" into ub-launcher3-master

parents 4158d57e 8e90390c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -98,6 +98,9 @@ public class CustomThemeComponentFragment extends CustomThemeStepFragment {
            mOptionsController.addListener(selected -> {
                mSelectedOption = (ThemeComponentOption) selected;
                bindPreview();
                // Preview and apply. The selection will be kept whatever user goes to previous page
                // or encounter system config changes, the current selection can be recovered.
                mCustomThemeManager.apply(mSelectedOption, /* callback= */ null);
            });
            mOptionsController.initOptions(mCustomThemeManager);