summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tony Huang <tonyychuang@google.com> 2022-05-18 17:09:24 +0800
committer Tony Huang <tonyychuang@google.com> 2022-05-24 08:08:53 +0000
commit2641f715ce48c393e59708027ca7748ea8a6b6b8 (patch)
tree31b861d13b8d5ac291005b92367862fb8468538b /libs/androidfw/StringPool.cpp
parentc45a6dd61c18b15478e6df1bf4aeefc64de1828a (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 Fix: 233159027 Test: Open animation scale setting and try drop then drag again divider quickly Test: pass exising tests Change-Id: I2e94f3ece3f211ceb15f380e4ee9322b8c27f8ac Merged-In: I2e94f3ece3f211ceb15f380e4ee9322b8c27f8ac (cherry picked from commit 99866c56ad227f4ca43bd52a11f29aa59d08f581)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions