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

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

Use ViewModel to store loading animation state (2/3)

Replace usages of saved instance state with view model fields, since
large data structures like bitmaps should not be stored in saved
instance state. Decided to use CustomizationPickerViewModel to store
these fields since the ViewModel needs to be unique within the
CustomizationPickerFragment scope.

Bug: 274443705
Flag: wallpaper_picker_preview_animation
Test: Manually tested to ensure animation is unchanged, and
functionality is unchanged wherever ScreenPreviewViewModel is used

Change-Id: I0208148d3580a314d9fa0ea90d34e933b6773c02
parent 5cefe4e4
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