am 29f75ce7: am fc785e85: am 59371a77: Merge "Volume: Dismiss shade when launching settings from rocker." into lmp-dev
* commit '29f75ce71d37723e9b064c7c66c842a8b45716fe': Volume: Dismiss shade when launching settings from rocker.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user