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

Commit c6a656c9 authored by Christoph Studer's avatar Christoph Studer
Browse files

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
parent 1a5ac5b4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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