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

Commit e51a347f authored by Liran Binyamin's avatar Liran Binyamin Committed by Android (Google) Code Review
Browse files

Merge "Update the expanded view bounds after config change" into main

parents b19b0890 fab79c6e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1295,6 +1295,11 @@ public class BubbleController implements ConfigurationChangeListener,
                        mContext.getResources().getDimensionPixelSize(
                                com.android.internal.R.dimen.importance_ring_stroke_width));
                mStackView.onDisplaySizeChanged();
                // TODO b/392893178: Merge the unfold and the task view transition so that we don't
                //  have to post a delayed runnable to the looper to update the bounds
                if (mStackView.isExpanded()) {
                    mStackView.postDelayed(() -> mStackView.updateExpandedView(), 500);
                }
            }
            if (newConfig.fontScale != mFontScale) {
                mFontScale = newConfig.fontScale;
+1 −1
Original line number Diff line number Diff line
@@ -3548,7 +3548,7 @@ public class BubbleStackView extends FrameLayout
        }
    }

    private void updateExpandedView() {
    void updateExpandedView() {
        boolean isOverflowExpanded = mExpandedBubble != null
                && BubbleOverflow.KEY.equals(mExpandedBubble.getKey());
        int[] paddings = mPositioner.getExpandedViewContainerPadding(