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

Commit 6912a472 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE crash when start pending predictive back animation." into main

parents 22b32308 f4c6df54
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -994,8 +994,10 @@ class BackNavigationController {
        // Ensure the final animation targets which hidden by transition could be visible.
        for (int i = 0; i < targets.size(); i++) {
            final WindowContainer wc = targets.get(i).mContainer;
            if (wc.mSurfaceControl != null) {
                wc.prepareSurfaces();
            }
        }

        // The pending builder could be cleared due to prepareSurfaces
        // => updateNonSystemOverlayWindowsVisibilityIfNeeded