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

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

am f2424907: am 52f8ef21: Merge "Add extra layout pass after draw finished." into klp-dev

* commit 'f2424907':
  Add extra layout pass after draw finished.
parents fc917703 f2424907
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -1272,6 +1272,11 @@ class WindowStateAnimator {
                            if (mIsWallpaper) {
                            if (mIsWallpaper) {
                                mService.dispatchWallpaperVisibility(w, true);
                                mService.dispatchWallpaperVisibility(w, true);
                            }
                            }
                            // This draw means the difference between unique content and mirroring.
                            // Run another pass through performLayout to set mHasContent in the
                            // LogicalDisplay.
                            mAnimator.setPendingLayoutChanges(w.getDisplayId(),
                                    WindowManagerPolicy.FINISH_LAYOUT_REDO_ANIM);
                        } else {
                        } else {
                            w.mOrientationChanging = false;
                            w.mOrientationChanging = false;
                        }
                        }