Fix mini keyboard display position when preview is disabled
Bug: 3021082 Change-Id: I2cfb462c89b222449ee2ba5559462a9f5d2306ed
This commit is contained in:
parent
56cd6df95e
commit
6b75eaa12d
1 changed files with 1 additions and 1 deletions
|
@ -1119,7 +1119,7 @@ public class LatinKeyboardBaseView extends View implements PointerTracker.UIProx
|
|||
popupY -= container.getMeasuredHeight();
|
||||
popupY += container.getPaddingBottom();
|
||||
final int x = popupX;
|
||||
final int y = isOneRowKeyboard(mMiniKeyboard.getKeyboard())
|
||||
final int y = mShowPreview && isOneRowKeyboard(mMiniKeyboard.getKeyboard())
|
||||
? mPopupPreviewDisplayedY : popupY;
|
||||
|
||||
int adjustedX = x;
|
||||
|
|
Loading…
Reference in a new issue