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

Commit 1516eb0a authored by Sergey Serokurov's avatar Sergey Serokurov
Browse files

Fix bubbles behavior in bedtime mode

Bug: 185083022
Test: atest SystemUITests
Test: screen recording https://drive.google.com/file/d/1jGHUaGoqtJIFcK439ZFBke_TKKdAGbKL/view?usp=sharing
Change-Id: Ida14930e50fb41bc5e2809b2b3127bb581a3bac0
parent db38b7fa
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -1036,10 +1036,9 @@ public class BubbleController {
                // notification, so that the bubble will be re-created if shouldBubbleUp returns
                // notification, so that the bubble will be re-created if shouldBubbleUp returns
                // true.
                // true.
                mBubbleData.dismissBubbleWithKey(key, DISMISS_NO_BUBBLE_UP);
                mBubbleData.dismissBubbleWithKey(key, DISMISS_NO_BUBBLE_UP);
            } else if (entry != null && mTmpRanking.isBubble() && !isActiveBubble
            } else if (entry != null && mTmpRanking.isBubble() && !isActiveBubble) {
                    && !entry.getRanking().isSuspended()) {
                entry.setFlagBubble(true);
                entry.setFlagBubble(true);
                onEntryUpdated(entry, true /* shouldBubbleUp */);
                onEntryUpdated(entry, shouldBubbleUp && !entry.getRanking().isSuspended());
            }
            }
        }
        }
    }
    }