diff options
| author | 2022-09-22 18:09:44 -0500 | |
|---|---|---|
| committer | 2022-11-28 18:03:06 +0000 | |
| commit | 73bf6685f632bec46c9f7f88e5cd0638b2844770 (patch) | |
| tree | fe3b86f877c04ec3e3b6645d19c20ee97e06a1e4 /libs/androidfw/misc.cpp | |
| parent | 2d2cda16fcb97273bf79acff0d86075812b25ae7 (diff) | |
Simplify config changes and request media host layout updates
- Each QSPanelController* class had its own OnConfigurationChangeListener,
in addition to an overridable method in the base class that was called
in the listener - moved the child class listener code into that method
so there's a single listener registered.
- When reattaching the media host after an orientation change,
explicitly call setLayoutParams to ensure that a layout update is
requested
- Add more info about current config to dumpsys
Bug: 198319256
Test: atest com.android.systemui.qs
Test: manual - verify media view looks correct when rotating
Change-Id: I5b34ba85e98b4fbf8fe3b24893d0423146aa5f75
Merged-In: I5b34ba85e98b4fbf8fe3b24893d0423146aa5f75
(cherry picked from commit 48cd3b609d8883978bf93ce159aa971f6b064fe3)
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions