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

Commit b2e49ed7 authored by Mady Mellor's avatar Mady Mellor Committed by android-build-merger
Browse files

Merge "Fix snooze not dismissing when it should" into oc-dr1-dev

am: f113a07d

Change-Id: I71e7c2757c1fab1dfdcd59ab3dbf695179899fe7
parents 0888ce47 f113a07d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -329,4 +329,8 @@ public class NotificationGuts extends FrameLayout {
    public boolean isExposed() {
        return mExposed;
    }

    public boolean isLeavebehind() {
        return mGutsContent != null && mGutsContent.isLeavebehind();
    }
}
+2 −1
Original line number Diff line number Diff line
@@ -1790,7 +1790,8 @@ public class StatusBar extends SystemUI implements DemoMode,
            return;
        }
        if (entry != null && mNotificationGutsExposed != null
                && mNotificationGutsExposed == entry.row.getGuts()) {
                && mNotificationGutsExposed == entry.row.getGuts() && entry.row.getGuts() != null
                && !entry.row.getGuts().isLeavebehind()) {
            Log.w(TAG, "Keeping notification because it's showing guts. " + key);
            mLatestRankingMap = ranking;
            mKeyToRemoveOnGutsClosed = key;