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
1 file changed