Loading core/java/android/widget/ListPopupWindow.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -618,12 +618,11 @@ public class ListPopupWindow { heightSpec = mDropDownHeight; heightSpec = mDropDownHeight; } } mPopup.setWidth(widthSpec); mPopup.setHeight(heightSpec); mPopup.setOutsideTouchable(!mForceIgnoreOutsideTouch && !mDropDownAlwaysVisible); mPopup.setOutsideTouchable(!mForceIgnoreOutsideTouch && !mDropDownAlwaysVisible); mPopup.update(getAnchorView(), mDropDownHorizontalOffset, mPopup.update(getAnchorView(), mDropDownHorizontalOffset, mDropDownVerticalOffset, -1, -1); mDropDownVerticalOffset, (widthSpec < 0)? -1 : widthSpec, (heightSpec < 0)? -1 : heightSpec); } else { } else { final int widthSpec; final int widthSpec; if (mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT) { if (mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT) { Loading Loading
core/java/android/widget/ListPopupWindow.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -618,12 +618,11 @@ public class ListPopupWindow { heightSpec = mDropDownHeight; heightSpec = mDropDownHeight; } } mPopup.setWidth(widthSpec); mPopup.setHeight(heightSpec); mPopup.setOutsideTouchable(!mForceIgnoreOutsideTouch && !mDropDownAlwaysVisible); mPopup.setOutsideTouchable(!mForceIgnoreOutsideTouch && !mDropDownAlwaysVisible); mPopup.update(getAnchorView(), mDropDownHorizontalOffset, mPopup.update(getAnchorView(), mDropDownHorizontalOffset, mDropDownVerticalOffset, -1, -1); mDropDownVerticalOffset, (widthSpec < 0)? -1 : widthSpec, (heightSpec < 0)? -1 : heightSpec); } else { } else { final int widthSpec; final int widthSpec; if (mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT) { if (mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT) { Loading