Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +4 −1 Original line number Diff line number Diff line Loading @@ -2404,7 +2404,10 @@ public class BubbleController implements ConfigurationChangeListener, @Override public void setBubbleBarBounds(Rect bubbleBarBounds) { mMainExecutor.execute(() -> mBubblePositioner.setBubbleBarBounds(bubbleBarBounds)); mMainExecutor.execute(() -> { mBubblePositioner.setBubbleBarBounds(bubbleBarBounds); if (mLayerView != null) mLayerView.updateExpandedView(); }); } } Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarLayerView.java +1 −1 Original line number Diff line number Diff line Loading @@ -356,7 +356,7 @@ public class BubbleBarLayerView extends FrameLayout } /** Updates the expanded view size and position. */ private void updateExpandedView() { public void updateExpandedView() { if (mExpandedView == null || mExpandedBubble == null) return; boolean isOverflowExpanded = mExpandedBubble.getKey().equals(BubbleOverflow.KEY); mPositioner.getBubbleBarExpandedViewBounds(mPositioner.isBubbleBarOnLeft(), Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +4 −1 Original line number Diff line number Diff line Loading @@ -2404,7 +2404,10 @@ public class BubbleController implements ConfigurationChangeListener, @Override public void setBubbleBarBounds(Rect bubbleBarBounds) { mMainExecutor.execute(() -> mBubblePositioner.setBubbleBarBounds(bubbleBarBounds)); mMainExecutor.execute(() -> { mBubblePositioner.setBubbleBarBounds(bubbleBarBounds); if (mLayerView != null) mLayerView.updateExpandedView(); }); } } Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarLayerView.java +1 −1 Original line number Diff line number Diff line Loading @@ -356,7 +356,7 @@ public class BubbleBarLayerView extends FrameLayout } /** Updates the expanded view size and position. */ private void updateExpandedView() { public void updateExpandedView() { if (mExpandedView == null || mExpandedBubble == null) return; boolean isOverflowExpanded = mExpandedBubble.getKey().equals(BubbleOverflow.KEY); mPositioner.getBubbleBarExpandedViewBounds(mPositioner.isBubbleBarOnLeft(), Loading