Skip to content
Commit 5bb5e82b authored by Mateusz Cicheński's avatar Mateusz Cicheński
Browse files

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
parent 30279b8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment