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

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

Merge "Fix nondismissing vol dialog after config change"

parents fba8e634 17608f48
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -556,14 +556,15 @@ public class VolumeDialogImpl implements VolumeDialog {
        mHandler.removeMessages(H.SHOW);
        mHandler.removeMessages(H.DISMISS);
        rescheduleTimeoutH();
        mShowing = true;

        if (mConfigChanged) {
            initDialog();
            initDialog(); // resets mShowing to false
            mConfigurableTexts.update();
            mConfigChanged = false;
        }

        initSettingsH();
        mShowing = true;
        mDialog.show();
        Events.writeEvent(mContext, Events.EVENT_SHOW_DIALOG, reason, mKeyguard.isKeyguardLocked());
        mController.notifyVisible(true);