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

Commit 93bbfd23 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE when adding window with policy to hide" into tm-dev

parents be65c9c0 28dc4cbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5288,7 +5288,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
        if (mControllableInsetProvider != null) {
            return;
        }
        if (mDisplayContent.inTransition()) {
        if (getDisplayContent().inTransition()) {
            // Skip because the animation is usually unnoticeable (e.g. covered by rotation
            // animation) and the animation bounds could be inconsistent, such as depending
            // on when the window applies its draw transaction with new rotation.