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

Commit 688d94c4 authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Don't try to use display of detached task to update insets" into tm-qpr-dev

parents f8fa73ac 22dd0b7e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -477,8 +477,11 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
            }
            mLocalInsetsSourceProviders.remove(insetsTypes[i]);
        }
        // Update insets if this window is attached.
        if (mDisplayContent != null) {
            mDisplayContent.getInsetsStateController().updateAboveInsetsState(true);
        }
    }

    /**
     * Sets an {@link InsetsSourceProvider} to be associated with this {@code WindowContainer},