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

Commit 2994d3bf authored by Liran Binyamin's avatar Liran Binyamin
Browse files

Add logs when opening bubble from notification

Log a message when opening a bubble from a notification to check whether the request is deferred until the device is unlocked.

Bug: 292732470
Test: N/A -- adding a log message
Change-Id: If40527cbfe51f6d527909038da1327a14105086e
parent 10274506
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1259,12 +1259,14 @@ public class BubbleController implements ConfigurationChangeListener,
     * Expands and selects a bubble based on the provided {@link BubbleEntry}. If no bubble
     * exists for this entry, and it is able to bubble, a new bubble will be created.
     *
     * This is the method to use when opening a bubble via a notification or in a state where
     * <p>This is the method to use when opening a bubble via a notification or in a state where
     * the device might not be unlocked.
     *
     * @param entry the entry to use for the bubble.
     */
    public void expandStackAndSelectBubble(BubbleEntry entry) {
        ProtoLog.d(WM_SHELL_BUBBLES, "opening bubble from notification key=%s mIsStatusBarShade=%b",
                entry.getKey(), mIsStatusBarShade);
        if (mIsStatusBarShade) {
            mNotifEntryToExpandOnShadeUnlock = null;