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

Commit caa747b9 authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

Merge "Correct PopupWindow spaceAbove calculation." into nyc-dev

parents 3c587091 b8320f7c
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) {