diff options
| author | 2015-01-23 17:07:39 +0000 | |
|---|---|---|
| committer | 2015-01-23 17:07:39 +0000 | |
| commit | f8c669d3d2b67e4e6b34a4d5faec6ea8a07faf10 (patch) | |
| tree | c967215afc6a5836366ea0cf970d0425ac771096 | |
| parent | cd7b506c19dff4a68b46631fcede73f55547f985 (diff) | |
| parent | b97b519808719857232e1b82a6cfd0827db4ed0c (diff) | |
am 73500edb: Merge "SysUI: Don\'t drop HUN notification when clicked" into lmp-mr1-dev automerge: 9e9885e
automerge: b97b519
* commit 'b97b519808719857232e1b82a6cfd0827db4ed0c':
SysUI: Don't drop HUN notification when clicked
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java index 908fb9e08456..eaec8fab271d 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java @@ -1546,7 +1546,11 @@ public abstract class BaseStatusBar extends SystemUI implements dismissKeyguardThenExecute(new OnDismissAction() { public boolean onDismiss() { if (mIsHeadsUp) { - mHeadsUpNotificationView.clear(); + // Release the HUN notification to the shade. + // + // In most cases, when FLAG_AUTO_CANCEL is set, the notification will + // become canceled shortly by NoMan, but we can't assume that. + mHeadsUpNotificationView.releaseAndClose(); } new Thread() { @Override |