Loading core/java/android/widget/PopupWindow.java +1 −1 Original line number Diff line number Diff line Loading @@ -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) { Loading Loading
core/java/android/widget/PopupWindow.java +1 −1 Original line number Diff line number Diff line Loading @@ -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) { Loading