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

Commit 6ed218ba authored by Chet Haase's avatar Chet Haase Committed by Android Git Automerger
Browse files

am 66287788: Merge "Avoid drawing the starting window twice" into lmp-dev

* commit '66287788d35687a140df10ac96646cdf04f91a88':
  Avoid drawing the starting window twice
parents 85e8131f ee9d415f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1373,7 +1373,8 @@ final class WindowState implements WindowManagerPolicy.WindowState {
            final Rect stableInsets = mLastStableInsets;
            final boolean reportDraw = mWinAnimator.mDrawState == WindowStateAnimator.DRAW_PENDING;
            final Configuration newConfig = configChanged ? mConfiguration : null;
            if (mClient instanceof IWindow.Stub) {
            if (mAttrs.type != WindowManager.LayoutParams.TYPE_APPLICATION_STARTING
                    && mClient instanceof IWindow.Stub) {
                // To prevent deadlock simulate one-way call if win.mClient is a local object.
                mService.mH.post(new Runnable() {
                    @Override