Merge \"Only clip PopupWindow in the vertical direction\" into nyc-dev

am: 4b736ea56d

Change-Id: Idf5aedfb2f19595b8317c7dca1640ff0caf31696
This commit is contained in:
Alan Viverette
2016-06-30 17:35:52 +00:00
committed by android-build-merger

View File

@@ -1396,7 +1396,7 @@ public class PopupWindow {
private int computeGravity() {
int gravity = Gravity.START | Gravity.TOP;
if (mClipToScreen || mClippingEnabled) {
gravity |= Gravity.DISPLAY_CLIP_VERTICAL | Gravity.DISPLAY_CLIP_HORIZONTAL;
gravity |= Gravity.DISPLAY_CLIP_VERTICAL;
}
return gravity;
}