PopupWindow: Be more consistent about Gravity calculation.

am: 798fb79866

Change-Id: Ia7c49dbe2fbe751565d6c8be46586a66c535a148
This commit is contained in:
Robert Carr
2016-08-23 14:43:21 +00:00
committed by android-build-merger

View File

@@ -1547,7 +1547,7 @@ public class PopupWindow {
}
// Let the window manager know to align the top to y.
outParams.gravity = Gravity.LEFT | Gravity.TOP;
outParams.gravity = computeGravity();
outParams.width = width;
outParams.height = height;