summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Mateusz Cicheński <mateuszc@google.com> 2023-03-16 21:41:59 +0000
committer Mateusz Cicheński <mateuszc@google.com> 2023-03-16 21:46:35 +0000
commit5bb5e82bb72c6080fdf4a1e3eca91514fbbfaa10 (patch)
tree2fcf140604931fff3df65a6be45f06dd9776b991 /libs/androidfw/StringPool.cpp
parent30279b8ceb459d4107d872974de7c9dda4330f09 (diff)
Use equals to compare Rect instead of reference comparison.
For the particular test that caught this issue we try to double click on the PiP window, but interactions are disabled if there's ongoing animation. And since this incorrect comparison triggers a new animation, it would cause that test to fail 50% of the time, depending on whether the animation finished before the tapping begins. Bug: 183746978 Test: atest ExpandPipOnDoubleClickTest Change-Id: I4e700dfe96359381924ae4e4d5df523b56bfd24e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions