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

Commit 1f9cd414 authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "Volume: Dismiss shade when launching settings from rocker." into lmp-dev

parents 010150a1 c86f573f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -132,6 +132,9 @@ public class VolumeUI extends SystemUI {
                    final Intent intent = ZenModePanel.ZEN_SETTINGS;
                    intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
                    mContext.startActivityAsUser(intent, new UserHandle(UserHandle.USER_CURRENT));

                    // dismiss shade if showing
                    mContext.sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS));
                }
            });
            mDialogPanel.postDismiss(mDismissDelay);