diff --git a/src/com/android/launcher3/logging/KeyboardStateManager.java b/src/com/android/launcher3/logging/KeyboardStateManager.java index 3103af1bd4..6dc0a0be22 100644 --- a/src/com/android/launcher3/logging/KeyboardStateManager.java +++ b/src/com/android/launcher3/logging/KeyboardStateManager.java @@ -24,6 +24,7 @@ import android.os.SystemClock; */ public class KeyboardStateManager { private long mUpdatedTime; + private int mImeHeight; public enum KeyboardState { NO_IME_ACTION, @@ -58,4 +59,18 @@ public class KeyboardStateManager { mUpdatedTime = SystemClock.elapsedRealtime(); mKeyboardState = keyboardState; } + + /** + * Returns keyboard's current height. + */ + public int getImeHeight() { + return mImeHeight; + } + + /** + * Setter method to set keyboard height. + */ + public void setImeHeight(int imeHeight) { + mImeHeight = imeHeight; + } }