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

Skip to content
Commit edaf81a0 authored by Catherine Liang's avatar Catherine Liang
Browse files

Add ability to toggle themed icons (1/3)

Refactor the old themed icons workflow to use clean architecture and
Kotlin flows. Replace usage of ThemedIconSectionController with MVVM
architecture. Also, instead of using ThemedIconSwitchProvider and
ThemedIconUtils to get themed icon state from the content provider,
consolidate all the functionality into ThemedIconRepository, and create
a flow of the themed icon state using content observer.

There is still a noticeable delay for the Launcher preview to update.
Also, additional UI updates are needed. These will be addressed in
follow-up CLs.

Flag: com.android.systemui.shared.new_customization_picker_ui
Test: manually verified
Bug: 383867754
Bug: 376091518
Change-Id: I4753ad64fdbb5e8e9145760ea37f2e0675043975
parent 71c72498
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment