commit | 866120bbeda9c87b42dab4873a209070e4525e41 | [log] [tgz] |
---|---|---|
author | wilsonshih <wilsonshih@google.com> | Thu Mar 07 18:05:25 2024 +0800 |
committer | Wei Sheng Shih <wilsonshih@google.com> | Thu Mar 07 10:55:52 2024 +0000 |
tree | 0dec6e1f88bb8d3c87e6db3aea72974c2cef0c9b | |
parent | bc194cb72721f8f0e0b2eea592b23dd9f5f2bac1 [diff] |
Fix SnapshotRecord being overwritten when requesting a new one. Because the key of StartingWindowRecordManager is taskId, there can always add/remove activity snapshot with the same key. So before add a new record, remove previous starting window record immediately. Bug: 328563338 Test: trigger cross-activity animation aggressively Change-Id: I9122d5046a48ad9f7b5987686dcf2d42617686d4