Only assert transform hint if the orientation of size is changed
The test may be failed by 1. surfaceChanged: width=720 height=1024 transformHint=0 2. surfaceChanged: width=720 height=1120 transformHint=0 <-- 3. surfaceChanged: width=1184 height=560 transformHint=4 The height change could be from insets which should be fine. The purpose of the test is to ensure the size and hint have consistent orientation, so ignore the noise case. Fix: 294582810 Test: SurfaceControlTests#testSurfaceChangedOnRotation Change-Id: Iefab4381934e655a4fa4217cbb94495de5f3ddfb
Loading
Please register or sign in to comment