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

Commit 19322d1e authored by Mady Mellor's avatar Mady Mellor
Browse files

Update the dismiss reason to be correct when removing via caption menu

Flag: com.android.wm.shell.bubble_bar
Test: manual - enable bubble bar, expand a bubble, tap the caption
               handle, tap "dismiss bubble"
             => verify bubble is dismissed with correct int value in
                protolog
Bug: 333915922
Change-Id: I95844ac5b0263c9d6de8e2329b012d56d320c89a
parent 463a8b1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -209,7 +209,7 @@ public class BubbleBarExpandedView extends FrameLayout implements BubbleTaskView

            @Override
            public void onDismissBubble(Bubble bubble) {
                mManager.dismissBubble(bubble, Bubbles.DISMISS_USER_REMOVED);
                mManager.dismissBubble(bubble, Bubbles.DISMISS_USER_GESTURE);
            }
        });
        mHandleView.setOnClickListener(view -> {