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

Commit f71205c1 authored by John Spurlock's avatar John Spurlock
Browse files

VolumeZen: Don't clear stream type if embedded.

Clearing the stream type makes sense if the volume panel is
in dialog mode, but not when embedded.

Bug:15186070
Change-Id: Ice5f547ef987e28ef51050faef682c5dfa5f7604
parent 2684d5e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1035,9 +1035,9 @@ public class VolumePanel extends Handler {
                if (isShowing()) {
                    if (mDialog != null) {
                        mDialog.dismiss();
                    }
                        mActiveStreamType = -1;
                    }
                }
                synchronized (sConfirmSafeVolumeLock) {
                    if (sConfirmSafeVolumeDialog != null) {
                        sConfirmSafeVolumeDialog.dismiss();