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

Commit 253b840d authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Correct the default value of mRequestedInsetsState" into rvc-dev am:...

Merge "Correct the default value of mRequestedInsetsState" into rvc-dev am: 7a61fb6a am: b187e387 am: c284e8e6

Change-Id: Ie8752c2994812d52f14b1883e6bc0ce3f25480ec
parents b26d7692 c284e8e6
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -657,7 +657,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
    private boolean mIsDimming = false;

    private @Nullable InsetsSourceProvider mControllableInsetProvider;
    private InsetsState mRequestedInsetsState;
    private final InsetsState mRequestedInsetsState = new InsetsState();

    private static final float DEFAULT_DIM_AMOUNT_DEAD_WINDOW = 0.5f;
    private KeyInterceptionInfo mKeyInterceptionInfo;
@@ -816,9 +816,6 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
        mSeq = seq;
        mPowerManagerWrapper = powerManagerWrapper;
        mForceSeamlesslyRotate = token.mRoundedCornerOverlay;
        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);