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

Commit 6a6b9479 authored by Mady Mellor's avatar Mady Mellor Committed by Android (Google) Code Review
Browse files

Merge "Add some debug logs" into main

parents 8879a43f 1e42115c
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1166,6 +1166,10 @@ public class BubbleController implements ConfigurationChangeListener,
                    return windowInsets;
                });
            } else {
                if (mStackView.isExpanded()) {
                    ProtoLog.w(WM_SHELL_BUBBLES,
                            "addToWindowManager - BubbleStackView is already expanded!");
                }
                mWindowManager.addView(mStackView, mWmLayoutParams);
                mStackView.setOnApplyWindowInsetsListener((view, windowInsets) -> {
                    if (!windowInsets.equals(mWindowInsets) && mStackView != null) {
@@ -1228,6 +1232,10 @@ public class BubbleController implements ConfigurationChangeListener,
            }
            mOnImeHidden = null;
            if (mStackView != null) {
                if (mStackView.isExpanded()) {
                    ProtoLog.w(WM_SHELL_BUBBLES, "removeFromWindowManager - BubbleStackView is "
                            + "expanded while being removed!");
                }
                mWindowManager.removeView(mStackView);
                mBubbleData.getOverflow().cleanUpExpandedState();
            }
@@ -3098,6 +3106,7 @@ public class BubbleController implements ConfigurationChangeListener,
        pw.print(prefix); pw.println("  stackViewSet= " + (mStackView != null));
        pw.print(prefix); pw.println("  layerViewSet= " + (mLayerView != null));
        pw.print(prefix); pw.println("  mBarToFloatingTransition= " + mBarToFloatingTransition);
        pw.print(prefix); pw.println("  mOnImeHidden= " + mOnImeHidden);
        pw.println();

        mBubbleData.dump(pw);