DescriptionProperly interpret orientation provider/listener test results.
This change makes sure orientation test results are properly interpreted
for devices which natural orientation is landscape.
Existing implementation assumed portrait as device natural orientation.
BUG=
TEST=Run ContentShell instrumentation test.
./build/android/test_runner.py instrumentation --test-apk=ContentShellTest --release --test-filter=ScreenOrientation*
Committed: https://crrev.com/d8b82f91d5658b31eb6139d5e9173b91ab566156
Cr-Commit-Position: refs/heads/master@{#297670}
Patch Set 1 #
Total comments: 12
Patch Set 2 : Addressing code review comments. #
Total comments: 4
Patch Set 3 : Set mNaturalOrientation default value to ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED #
Messages
Total messages: 10 (2 generated)
|