Improved setOrientation() by waiting until it effectively changes.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Fixes: 63756784

Change-Id: Icf91451cef32cb92c37533495b74e05de82f78f6
4 files changed