Skip orientation assertion if display is close to square

There bounds and orientation might not change after rotating
display if the size of display is close to square.

Bug: 281798587
Test: adb shell wm size 1500x1500
      atest AppConfigurationTests#testAppOrientationWhenRotating
Change-Id: Icc5e1b7aca4cc80c4036d5ffa67ed4ff9b0ca92a
1 file changed