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

Skip to content
Commit 506760c3 authored by George Lin's avatar George Lin
Browse files

[TP] Fix set clock id not working

Root cause is that the ViewModel's lifecycle should be with the
activity, but we accidentally make it as long as CustomizationSections
which is cached in the Injector that may outlive an activity.

Fixed by getting the view model in the section controller, which lives
with the activity lifecycle.

Test: tested that set clock id actually works
Bug: 281082328
Change-Id: I4a17434a170f3521c9d6b345792280defc254928
parent 7a7175d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment