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 48cd3b60)
Loading
Please register or sign in to comment