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

Commit a1693418 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Dismiss all dropdown windows when power menu is rotated." into rvc-dev

parents 8c703e4d 00200c99
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2362,6 +2362,14 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
        }

        public void refreshDialog() {
            // ensure dropdown menus are dismissed before re-initializing the dialog
            dismissPanel();
            dismissOverflow(true);
            if (mControlsUiController != null) {
                mControlsUiController.hide();
            }

            // re-create dialog
            initializeLayout();
            mGlobalActionsLayout.updateList();
            if (mControlsUiController != null) {