Fallback to orientation read from the sysprop instead of ROTATION_0.
Replacing fallback to ROTATION_0 added in Idb38d60092de0fa7046e7b68baef9288805cb590 to the default value specified in the sysprop ro.bootanim.set_orientation_<display_id> and read in DisplayRotation#readDefaultDisplayRotation. This ensures consistency of default rotation values used by the system in different scenarios.
Fix: 265700023
Test: atest WindowOrientationListenerTest
Change-Id: Ia8792c7e654fb42736d442d09585890db0d5631f
3 files changed