commit | 316c0f5ba608ad1f92fa2c8e8cbc625ef45f5a16 | [log] [tgz] |
---|---|---|
author | William Xiao <wxyz@google.com> | Wed Aug 16 17:48:20 2023 -0700 |
committer | William Xiao <wxyz@google.com> | Fri Aug 18 00:55:23 2023 +0000 |
tree | ca4122ff1f14affcd73c43bcfa7a7693f601211f | |
parent | 4aac27bac2b256e13f38db241c182e209b2559e7 [diff] |
Fix DockConfigChangeTests The tests assumed that devices would be rotated to 270 degrees upon docking but this isn't true as emulators rotate to 0 degrees. This fix reads the config_deskDockRotation value to determine the docked rotation. This is the same value used to actually rotate the device on dock. Bug: 295876429 Bug: 294255156 Test: atest DockConfigChangeTests manually verified on UDC build and main build (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4e75b9b88c914b81df878509e3334292d85f6bf3) Merged-In: I961f6692d67edf559d95f25981f765be17d58786 Change-Id: I961f6692d67edf559d95f25981f765be17d58786