Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +11 −2 Original line number Diff line number Diff line Loading @@ -1577,9 +1577,18 @@ public class BubbleStackView extends FrameLayout private void updateOverflow() { mBubbleOverflow.update(); if (mShowingOverflow) { mBubbleContainer.reorderView(mBubbleOverflow.getIconView(), View overflow = mBubbleOverflow.getIconView(); if (overflow != null) { ViewGroup parent = (ViewGroup) overflow.getParent(); if (parent != null && parent != mBubbleContainer) { Log.w(TAG, "Found an unexpected parent for the overflow icon before " + "reordering. Removing it directly. Parent = " + parent); parent.removeView(overflow); } mBubbleContainer.reorderView(overflow, mBubbleContainer.getChildCount() - 1 /* index */); } } updateOverflowVisibility(); } Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +11 −2 Original line number Diff line number Diff line Loading @@ -1577,9 +1577,18 @@ public class BubbleStackView extends FrameLayout private void updateOverflow() { mBubbleOverflow.update(); if (mShowingOverflow) { mBubbleContainer.reorderView(mBubbleOverflow.getIconView(), View overflow = mBubbleOverflow.getIconView(); if (overflow != null) { ViewGroup parent = (ViewGroup) overflow.getParent(); if (parent != null && parent != mBubbleContainer) { Log.w(TAG, "Found an unexpected parent for the overflow icon before " + "reordering. Removing it directly. Parent = " + parent); parent.removeView(overflow); } mBubbleContainer.reorderView(overflow, mBubbleContainer.getChildCount() - 1 /* index */); } } updateOverflowVisibility(); } Loading