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

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

Make ColorUpdateViewModel ActivityRetainedScoped (2/2)

Changed ColorUpdateViewModel from activity scoped to activity retained
scoped so it can be easily injected and used in other view model scoped
classes. Injected the class into ColorPickerViewModel2 so the view model
can directly listen to system color updates and determine when apply is
complete.

Flag: com.android.systemui.shared.new_customization_picker_ui
Test: manually verified that applying color still works
Bug: 299510645
Change-Id: I13a2bd06fbe27b5e052311e82abb7d2f40856795
parent d76ecf0a
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