diff options
author | 2014-12-09 03:07:02 +0000 | |
---|---|---|
committer | 2014-12-09 03:07:02 +0000 | |
commit | 490dfc5498d0ecd8d8ea3b588dc808134e0928bc (patch) | |
tree | 6a0805bd7d988fbfd4c2e44058a22475de919f8b /java | |
parent | 78039db7738685a81a0b64ae9ee37a183a36d4a1 (diff) | |
parent | 8af412d80c2a167ad5a0b8476bb108a1cac36152 (diff) | |
download | latinime-490dfc5498d0ecd8d8ea3b588dc808134e0928bc.tar.gz latinime-490dfc5498d0ecd8d8ea3b588dc808134e0928bc.tar.xz latinime-490dfc5498d0ecd8d8ea3b588dc808134e0928bc.zip |
am 8af412d8: Remove unnecessary cast and import
* commit '8af412d80c2a167ad5a0b8476bb108a1cac36152':
Remove unnecessary cast and import
Diffstat (limited to 'java')
-rw-r--r-- | java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java index d19f506ab..3248c5805 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java @@ -24,7 +24,6 @@ import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.inputmethod.EditorInfo; -import android.widget.LinearLayout; import com.android.inputmethod.compat.InputMethodServiceCompatUtils; import com.android.inputmethod.event.Event; @@ -421,8 +420,7 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions { mEmojiPalettesView.setHardwareAcceleratedDrawingEnabled( isHardwareAcceleratedDrawingEnabled); mEmojiPalettesView.setKeyboardActionListener(mLatinIME); - mHorizontalKeyboardFrame = (LinearLayout)mCurrentInputView.findViewById( - R.id.horizontal_keyboard_frame); + mHorizontalKeyboardFrame = mCurrentInputView.findViewById(R.id.horizontal_keyboard_frame); return mCurrentInputView; } |