Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3228156 authored by programminghoch10's avatar programminghoch10
Browse files

SystemUI: VolumeDialogImpl: Fix volume panel permanently visible

* The Volume Panel is permanently visible when changing the panel side while the panel is open until SystemUI is restarted
* This change removes the Panel View when changing the panel side

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3482

Change-Id: Ic3ca5a196315e96024121c995cc6282fb74f6e4c
parent 4920fca1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -403,8 +403,7 @@ public class VolumeDialogImpl implements VolumeDialog,
                if (mVolumePanelOnLeft != volumePanelOnLeft) {
                    mVolumePanelOnLeft = volumePanelOnLeft;
                    mHandler.post(() -> {
                        // Trigger panel rebuild on next show
                        mConfigChanged = true;
                        mControllerCallbackH.onConfigurationChanged();
                    });
                }
            }