am 8af412d8: Remove unnecessary cast and import

* commit '8af412d80c2a167ad5a0b8476bb108a1cac36152':
  Remove unnecessary cast and import
This commit is contained in:
Tadashi G. Takaoka 2014-12-09 03:07:02 +00:00 committed by Android Git Automerger
commit 490dfc5498

View file

@ -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;
}