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

Commit 1d800564 authored by Liran Binyamin's avatar Liran Binyamin Committed by Android (Google) Code Review
Browse files

Merge "Check the expanded state before expanding" into main

parents 154bf5eb cf40feb5
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -3195,8 +3195,11 @@ public class BubbleController implements ConfigurationChangeListener,
            executeRemoteCallWithTaskPermission(
                    mController,
                    "showExpandedView",
                    (controller) -> {
                        if (mLayerView != null) {
                    controller -> {
                        // launcher is requesting to show the expanded view in response to sysui
                        // sending an expand signal. check that we didn't already collapse between
                        // these 2 events.
                        if (mLayerView != null && mBubbleData.isExpanded()) {
                            showExpandedViewForBubbleBar();
                        }
                    });