commit | 21058118dee283d53161a70956911ef1c8a27b99 | [log] [tgz] |
---|---|---|
author | wilsonshih <wilsonshih@google.com> | Tue Apr 11 12:13:40 2023 +0800 |
committer | wilsonshih <wilsonshih@google.com> | Tue Apr 11 09:33:05 2023 +0000 |
tree | b5c528e165fd38d2718c219540b28aea52623ec9 | |
parent | 5fa1e5939c9f4631bdfaaf2bf7ae4e208a5c12d1 [diff] |
Cancel pending animation when state changed. The participants of pending animation were cached while another transition playing, so when a transition finish, the participant target could already changed or removed. We can use NavigationMonitor to cancel the pending animation if the target has changed. Bug: 277663454 Test: manual, try to verify the pending animation shouldn't start when navigation window has changed. Change-Id: I4db578bd46932549afe5f3cb7f2e0f147bbf1a82