am 2fb112f1: am 7083b748: Propagate preview enable attribute to mini-keyboard

Merge commit '2fb112f142bdac2c7cb96da5f264b5575ce611e7'

* commit '2fb112f142bdac2c7cb96da5f264b5575ce611e7':
  Propagate preview enable attribute to mini-keyboard
diff --git a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
index ab1789f..805bc2d 100644
--- a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
+++ b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
@@ -1054,6 +1054,7 @@
             mMiniKeyboardOriginY = y + mMiniKeyboardContainer.getPaddingTop();
             mMiniKeyboard.setPopupOffset((x < 0) ? 0 : x, y);
             mMiniKeyboard.setShifted(isShifted());
+            mMiniKeyboard.setPreviewEnabled(isPreviewEnabled());
             mMiniKeyboardPopup.setContentView(mMiniKeyboardContainer);
             mMiniKeyboardPopup.setWidth(mMiniKeyboardContainer.getMeasuredWidth());
             mMiniKeyboardPopup.setHeight(mMiniKeyboardContainer.getMeasuredHeight());