[DO NOT MERGE] Use orientation value from config change event

Before, when the device was rotated we would get the new orientation value
from the event but then use the value from getResources() to decide
which layout to show. This discrepancy is a potential cause for an issue
where QS uses the landscape layout when the device was actually portrait

Fixes: 159737544
Test: atest QSPanelControllerBaseTest QSPanelControllerTest
Change-Id: Icd15712cd4821b7833a3373978a92f8b5959ac12
Merged-In: Icd15712cd4821b7833a3373978a92f8b5959ac12
(cherry picked from commit 917a11a54a41f79e01b176fb5d98d346e0f76ff5)
(cherry picked from commit a8e1bbf7c0195875f4f6692a8108e2e48db2a255)
Merged-In:Icd15712cd4821b7833a3373978a92f8b5959ac12
3 files changed