commit | 77648370049f778f49d09ca09b12c29c75808b19 | [log] [tgz] |
---|---|---|
author | Beth Thibodeau <ethibodeau@google.com> | Wed Sep 22 19:25:47 2021 -0400 |
committer | Beth Thibodeau <ethibodeau@google.com> | Thu Sep 23 16:12:02 2021 +0000 |
tree | ed0a212f7073b3e564b56d97fe01f1b53bc9cd6d | |
parent | a7efb5e02574fbdb857654d303843e5f2acf838b [diff] |
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