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
Loading
Please register or sign in to comment