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

Commit f9819b01 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 17fc8574: Merge "Sync focus stack frame and layer with focus app."

* commit '17fc8574':
  Sync focus stack frame and layer with focus app.
parents 77f8112d 17fc8574
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -4000,6 +4000,15 @@ public class WindowManagerService extends IWindowManager.Stub
            if (changed) {
                mFocusedApp = newFocus;
                mInputMonitor.setFocusedAppLw(newFocus);
                setFocusedStackFrame();
                if (SHOW_LIGHT_TRANSACTIONS) Slog.i(TAG, ">>> OPEN TRANSACTION setFocusedApp");
                SurfaceControl.openTransaction();
                try {
                    setFocusedStackLayer();
                } finally {
                    SurfaceControl.closeTransaction();
                    if (SHOW_LIGHT_TRANSACTIONS) Slog.i(TAG, ">>> CLOSE TRANSACTION setFocusedApp");
                }
            }

            if (moveFocusNow && changed) {