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

Commit a1cf78cc authored by Liran Binyamin's avatar Liran Binyamin
Browse files

Log bubbles unfolding transitions

Adds logs for debugging

Bug: 418131777
Flag: com.android.wm.shell.enable_bubble_bar
Test: manual
       - create a bubble
       - unfold
       - adb bugreport and verify logs show up

Change-Id: Ib4d8cdc175a4b8f95be4d26e51969760b198efb9
parent 14d102e3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -214,6 +214,8 @@ public class BubbleTransitions {
        // the bubble bar flag, but once these are combined we should be able to remove this.
        if (com.android.wm.shell.Flags.enableBubbleBar()
                && mBubbleData.getSelectedBubble() instanceof Bubble) {
            ProtoLog.d(
                    WM_SHELL_BUBBLES, "notifyUnfoldTransitionStarting transition=%s", transition);
            Bubble bubble = (Bubble) mBubbleData.getSelectedBubble();
            mTaskViewTransitions.enqueueExternal(
                    bubble.getTaskView().getController(), () -> transition);
@@ -223,6 +225,8 @@ public class BubbleTransitions {
    /** Notifies when the unfold transition has finished. */
    public void notifyUnfoldTransitionFinished(@NonNull IBinder transition) {
        if (com.android.wm.shell.Flags.enableBubbleBar()) {
            ProtoLog.d(
                    WM_SHELL_BUBBLES, "notifyUnfoldTransitionFinished transition=%s", transition);
            mTaskViewTransitions.onExternalDone(transition);
        }
    }