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

Commit 1e42115c authored by Mady Mellor's avatar Mady Mellor
Browse files

Add some debug logs

Flag: EXEMPT adding logs
Test: treehugger
Bug: 417447385
Change-Id: I0ff036cacfab8436275cc6fda9e720110257f6fc
parent a4bde1d7
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1160,6 +1160,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) {
@@ -1222,6 +1226,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();
            }
@@ -3087,6 +3095,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);