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

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

Merge "Let each window has its own requested insets state"

parents 6349a0a8 4045971d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -792,8 +792,9 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
        mSeq = seq;
        mPowerManagerWrapper = powerManagerWrapper;
        mForceSeamlesslyRotate = token.mRoundedCornerOverlay;
        mRequestedInsetsState =
                getDisplayContent().getInsetsPolicy().getInsetsForDispatch(this);
        mRequestedInsetsState = new InsetsState(
                getDisplayContent().getInsetsPolicy().getInsetsForDispatch(this),
                true /* copySources */);
        if (DEBUG) {
            Slog.v(TAG, "Window " + this + " client=" + c.asBinder()
                            + " token=" + token + " (" + mAttrs.token + ")" + " params=" + a);