From f71205c1ee3b34801f98af275a281f7d06c50b51 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Thu, 29 May 2014 10:17:51 -0400 Subject: 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 --- packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java b/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java index 06f4c2e..67f3a3d 100644 --- a/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java +++ b/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java @@ -1035,8 +1035,8 @@ public class VolumePanel extends Handler { if (isShowing()) { if (mDialog != null) { mDialog.dismiss(); + mActiveStreamType = -1; } - mActiveStreamType = -1; } synchronized (sConfirmSafeVolumeLock) { if (sConfirmSafeVolumeDialog != null) { -- cgit v1.1