src/com/android/customization/picker/preview/ui/section/PreviewWithClockCarouselSectionController.kt
+3
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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