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

Commit edb19fff authored by Tiger Huang's avatar Tiger Huang Committed by Android (Google) Code Review
Browse files

Merge "Add log to debug why the window frame could be empty" into main

parents 49bab84d 397129f5
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2493,6 +2493,14 @@ public class WindowManagerService extends IWindowManager.Stub
                outInsetsState.set(win.getCompatInsetsState(), true /* copySources */);
            }

            // TODO (b/298562855): Remove this after identifying the reason why the frame is empty.
            if (win.mAttrs.providedInsets != null && win.getFrame().isEmpty()) {
                Slog.w(TAG, "Empty frame of " + win
                        + " configChanged=" + configChanged
                        + " frame=" + win.getFrame().toShortString()
                        + " attrs=" + attrs);
            }

            ProtoLog.v(WM_DEBUG_FOCUS, "Relayout of %s: focusMayChange=%b",
                    win, focusMayChange);