SysUI: Don't drop HUN notification when clicked
A clicked notification is not guaranteed to be removed, so instead of dropping a clicked HUN notification we have to release it to the shade. Bug: 19093631 Change-Id: I73b88af774e49e89c8a601873c48cc5f5eed0224
This commit is contained in:
@@ -1549,7 +1549,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
|
||||
|
||||
Reference in New Issue
Block a user