Support switch to screenshot for TTV
- Moved live tile decision to TaskThumbnailViewModel, and added RecentsViewData for runningTask information - Implemented a ThumbnailData override mechanism to override screenshot from TaskThunmbnailCache, the override will be added during switchToScreenshot and cleared when user exit recents (RecentsView.reset) - During the thumbnail override, we wait until the new ThumbnailData propagates, before finsihing Recents animation to avoid a frame of flash Bug: 343364498 Test: TaskThumbnailViewModelTest, TaskRepositoryTest, RecentsViewModelTest Flag: com.android.launcher3.enable_refactor_task_thumbnail Change-Id: I776943ecdfa0d65d94b054692297b42686f59f8a
Loading
Please register or sign in to comment