Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d1b48c9a authored by Haoyu Zhang's avatar Haoyu Zhang
Browse files

Fix: ViewGroupGetChildLocalHitRegionTest fail on cuttlefish auto devices

In the test, the expected Matrix's translation is computed by
View.getLocationInWindow which only returns interger results.
But the test view's actual matrix is 7.5 pixel.
To fix the test failure, we specify the test view's translationX/Y
in px unit instead.

Bug: 296551016
Test: atest ViewGroupGetChildLocalHitRegionTest
Change-Id: I170fba4057edf8b1be9029513a74de955aeb83e0
parent a9d53171
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