Fix SetDisplayProperties when in force tablet mode
When Chrome is in forced tablet mode (--force-tablet-mode=touch_view) and display rotation is set through setDisplayProperties(), ScreenOrientationController::GetCurrentOrientation() keeps returning landscape-primary regardless of the rotation. It prevented some tests from working as intended. TEST=tast run eve-DUT arc.SoftInputMode BUG=1032881 Change-Id: I2b40db9fea2af4a066a0fb8f4d37a870b87d603b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032693Reviewed-by:Ahmed Fakhry <afakhry@chromium.org> Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org> Cr-Commit-Position: refs/heads/master@{#738398}
Showing
Please register or sign in to comment