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

Commit 1e5da3f8 authored by Mady Mellor's avatar Mady Mellor Committed by android-build-merger
Browse files

Merge "No need to use getExpandedBubble for singleTaskDisplayDrawn/Empty...

Merge "No need to use getExpandedBubble for singleTaskDisplayDrawn/Empty callbacks" into qt-qpr1-dev
am: 4ac6a113

Change-Id: I2dd8ce7f5f95bdebaacf91b7f6c9b9230acc3fc8
parents 84b5194c 4ac6a113
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -926,7 +926,9 @@ public class BubbleController implements ConfigurationController.ConfigurationLi

        @Override
        public void onSingleTaskDisplayDrawn(int displayId) {
            final Bubble expandedBubble = getExpandedBubble(mContext);
            final Bubble expandedBubble = mStackView != null
                    ? mStackView.getExpandedBubble()
                    : null;
            if (expandedBubble != null && expandedBubble.getDisplayId() == displayId) {
                expandedBubble.setContentVisibility(true);
            }
@@ -934,7 +936,9 @@ public class BubbleController implements ConfigurationController.ConfigurationLi

        @Override
        public void onSingleTaskDisplayEmpty(int displayId) {
            final Bubble expandedBubble = getExpandedBubble(mContext);
            final Bubble expandedBubble = mStackView != null
                    ? mStackView.getExpandedBubble()
                    : null;
            if (expandedBubble == null) {
                return;
            }