diff options
author | 2016-06-30 17:24:21 +0000 | |
---|---|---|
committer | 2016-06-30 17:24:22 +0000 | |
commit | 4b736ea56d5301381838c80b2333a05df1eb499e (patch) | |
tree | 13588fcbc82bc5eee9458047740737d3bf578d3f | |
parent | 7705d5fd6e42f79b810a9cbf4e6c14e4d4e98176 (diff) | |
parent | 9705fa0602290b56edc81f64bfcba38f159069b1 (diff) |
Merge "Only clip PopupWindow in the vertical direction" into nyc-dev
-rw-r--r-- | core/java/android/widget/PopupWindow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/PopupWindow.java b/core/java/android/widget/PopupWindow.java index 6477f079cb7f..6432f703f2ba 100644 --- a/core/java/android/widget/PopupWindow.java +++ b/core/java/android/widget/PopupWindow.java @@ -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; } |