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

Commit 4313baee authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Only invoke LaunchOrConvert transition on bubble bar" into main

parents 9e0b07d0 012aad83
Loading
Loading
Loading
Loading
+9 −4
Original line number Original line Diff line number Diff line
@@ -1603,10 +1603,15 @@ public class BubbleController implements ConfigurationChangeListener,
        } else {
        } else {
            b.enable(Notification.BubbleMetadata.FLAG_AUTO_EXPAND_BUBBLE);
            b.enable(Notification.BubbleMetadata.FLAG_AUTO_EXPAND_BUBBLE);


            if (isShowingAsBubbleBar()) {
                ensureBubbleViewsAndWindowCreated();
                ensureBubbleViewsAndWindowCreated();
                mBubbleTransitions.startLaunchIntoOrConvertToBubble(b, mExpandedViewManager,
                mBubbleTransitions.startLaunchIntoOrConvertToBubble(b, mExpandedViewManager,
                        mBubbleTaskViewFactory, mBubblePositioner, mStackView, mLayerView,
                        mBubbleTaskViewFactory, mBubblePositioner, mStackView, mLayerView,
                        mBubbleIconFactory, mInflateSynchronously);
                        mBubbleIconFactory, mInflateSynchronously);
            } else {
                inflateAndAdd(b, /* suppressFlyout= */ true, /* showInShade= */ false,
                        updateLocation);
            }
        }
        }
    }
    }