commit | 99866c56ad227f4ca43bd52a11f29aa59d08f581 | [log] [tgz] |
---|---|---|
author | Tony Huang <tonyychuang@google.com> | Wed May 18 17:09:24 2022 +0800 |
committer | Tony Huang <tonyychuang@google.com> | Thu May 19 14:03:18 2022 +0800 |
tree | d5f4d9a28950cbe3392eec6aa2266688b2f321d8 | |
parent | aff483111331ebf11bb7a51d91882bea8ea72003 [diff] |
Fix NPE if draging again while animating The animator cancel calling might cause surfaces released by our implementation. Moving the cancel call before we make sure surface is not null. Fix: 230686609 Test: Open animation scale setting and try drop then drag again divider quickly Test: pass exising tests Change-Id: I2e94f3ece3f211ceb15f380e4ee9322b8c27f8ac