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

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

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

* commit 'de7ff082':
  Call deferred windowFocusChange when draw complete
parents ba5d8db2 de7ff082
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);
            }