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

Commit de7ff082 authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "Call deferred windowFocusChange when draw complete" into jb-dev

parents 80f84a15 51bb12b3
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -8324,10 +8324,6 @@ public class WindowManagerService extends IWindowManager.Stub
            for (i=N-1; i>=0; i--) {
                WindowState w = mWindows.get(i);

                if (someoneLosingFocus && w == mCurrentFocus && w.isDisplayedLw()) {
                    focusDisplayed = true;
                }

                final boolean obscuredChanged = w.mObscured != mInnerFields.mObscured;

                // Update effect.
@@ -8385,6 +8381,10 @@ public class WindowManagerService extends IWindowManager.Stub
                    winAnimator.setSurfaceBoundaries(recoveringMemory);
                }

                if (someoneLosingFocus && w == mCurrentFocus && w.isDisplayedLw()) {
                    focusDisplayed = true;
                }

                updateResizingWindows(w);
            }