Update the cache with the snapshot requested during recents animation
- When a screenshot is requested by the recents animation runner, update
the task snapshot cache to ensure that the same snapshot is used for the
next starting animation. In doing so, we also need to prevent the default
logic from taking a new snapshot when the app is hidden at the end of the
recents animation.
Bug: 70180552
Test: atest TaskSnapshotControllerTest
Change-Id: Ib081ba324587b0719edb370e3c253c86f5e6c1b6
3 files changed