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

Commit d7435cb7 authored by Rob Carr's avatar Rob Carr Committed by android-build-merger
Browse files

Merge "Correct PopupWindow spaceAbove calculation." into nyc-dev am: caa747b9

am: 482fb889

* commit '482fb889':
  Correct PopupWindow spaceAbove calculation.

Change-Id: I7235e726c8b73c7f6437dd98d58e45f6dbbff3dc
parents e852018d 482fb889
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1579,7 +1579,7 @@ public class PopupWindow {
            return true;
        }

        final int spaceAbove = displayFrameTop + anchorTopInScreen - anchorHeight;
        final int spaceAbove = anchorTopInScreen - anchorHeight - displayFrameTop;
        if (height <= spaceAbove) {
            // Move everything up.
            if (mOverlapAnchor) {