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

Commit b7c60cb2 authored by Alan Viverette's avatar Alan Viverette Committed by android-build-merger
Browse files

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

Merge \\\"Only clip PopupWindow in the vertical direction\\\" into nyc-dev am: 4b736ea5 am: a2beb448
am: bb3fc639

Change-Id: I1ae838346c9125d08987dee62171619d6c96e96b
parents d1441ede bb3fc639
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }