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

Commit 1d4379fd authored by Evan Laird's avatar Evan Laird
Browse files

Fix heads up notifications

StatusBar#canHeadsUp moved to StatusBarNotificationPresenter#canHeadsUp,
but a case was inverted causing HUNs not to show

Change-Id: I447634486007df9c96b1d924bcbabce8dcdf8aa5
Fixes: 118365227
Test: Generate notification that will heads-up
parent f887be23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -282,7 +282,7 @@ public class StatusBarNotificationPresenter implements NotificationPresenter {

    @Override
    public boolean canHeadsUp(Entry entry, StatusBarNotification sbn) {
        if (!mShadeController.isDozing()) {
        if (mShadeController.isDozing()) {
            return false;
        }