fix(#Magnification): fix...
fix(#Magnification): fix WindowMagnificationControllerTest#enableWindowMagnification_rotationIsChanged_updateRotationValue fails on x86 devices
The test case becomes flaky on udc-dev branch after build 9881258. I think it might because the resource config orientation might be undefined sometimes, so the orientation changed would be neglected when config.diff and thus the mRotation would not update correctly. Therefore, I add orientation check in test setUp to prevent the orientation from being undefined.
Bug: 277093220
Bug: 276925992
Test: atest WindowMagnificationControllerTest on cf_x86_64_phone/foldable
presubmit
Change-Id: I67ce4f7ff60beb3dbf72b14799ea867978bf06ba
Loading
Please register or sign in to comment