Remember original orientation in size compat mode.

We should use the original orientation of the activity when the new requested orientation is undefinded to avoid forcing the activity in the opposite orientation.

Fix: 227642889
Test: atest WmTests:SizeCompatTests
Change-Id: If7fcca5009d543b70f8f46f3116e4c8a14aee0ad
2 files changed