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

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

Merge "Don't change the controlling window to null when focusedApp is also null" into main

parents 1f941f1f c67018c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2669,7 +2669,7 @@ public class DisplayPolicy {
                return;
            }
            final ActivityRecord focusedApp = mDisplayContent.mFocusedApp;
            if (focusedApp != null && fillsDisplayWindowingMode(focusedApp)) {
            if (focusedApp == null || fillsDisplayWindowingMode(focusedApp)) {
                // Don't change the system UI controlling window when the new one is not ready.
                return;
            }