Loading packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java +3 −1 Original line number Diff line number Diff line Loading @@ -903,9 +903,11 @@ public class BubbleController implements ConfigurationController.ConfigurationLi @Override public void onTaskMovedToFront(RunningTaskInfo taskInfo) { if (mStackView != null && taskInfo.displayId == Display.DEFAULT_DISPLAY) { if (!mStackView.isExpansionAnimating()) { mBubbleData.setExpanded(false); } } } @Override public void onActivityLaunchOnSecondaryDisplayRerouted() { Loading packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java +7 −0 Original line number Diff line number Diff line Loading @@ -662,6 +662,13 @@ public class BubbleStackView extends FrameLayout { return mIsExpanded; } /** * Whether the stack of bubbles is animating to or from expansion. */ public boolean isExpansionAnimating() { return mIsExpansionAnimating; } /** * The {@link BubbleView} that is expanded, null if one does not exist. */ Loading Loading
packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java +3 −1 Original line number Diff line number Diff line Loading @@ -903,9 +903,11 @@ public class BubbleController implements ConfigurationController.ConfigurationLi @Override public void onTaskMovedToFront(RunningTaskInfo taskInfo) { if (mStackView != null && taskInfo.displayId == Display.DEFAULT_DISPLAY) { if (!mStackView.isExpansionAnimating()) { mBubbleData.setExpanded(false); } } } @Override public void onActivityLaunchOnSecondaryDisplayRerouted() { Loading
packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java +7 −0 Original line number Diff line number Diff line Loading @@ -662,6 +662,13 @@ public class BubbleStackView extends FrameLayout { return mIsExpanded; } /** * Whether the stack of bubbles is animating to or from expansion. */ public boolean isExpansionAnimating() { return mIsExpansionAnimating; } /** * The {@link BubbleView} that is expanded, null if one does not exist. */ Loading