Show 'end now' in expanded volume panel.
Bug: 26165288 Change-Id: I1e75a33f7745a7aa0b4740010cc554b4f1d924c6
This commit is contained in:
@@ -648,7 +648,7 @@ public class VolumeDialog {
|
||||
if (D.BUG) Log.d(TAG, "updateFooterH");
|
||||
final boolean wasVisible = mZenFooter.getVisibility() == View.VISIBLE;
|
||||
final boolean visible = mState.zenMode != Global.ZEN_MODE_OFF
|
||||
&& mAudioManager.isStreamAffectedByRingerMode(mActiveStream);
|
||||
&& (mAudioManager.isStreamAffectedByRingerMode(mActiveStream) || mExpanded);
|
||||
if (wasVisible != visible && !visible) {
|
||||
prepareForCollapse();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user