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.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.view.inputmethod.EditorInfo; import android.view.inputmethod.EditorInfo;
import android.widget.LinearLayout;
import com.android.inputmethod.compat.InputMethodServiceCompatUtils; import com.android.inputmethod.compat.InputMethodServiceCompatUtils;
import com.android.inputmethod.event.Event; import com.android.inputmethod.event.Event;
@ -421,8 +420,7 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions {
mEmojiPalettesView.setHardwareAcceleratedDrawingEnabled( mEmojiPalettesView.setHardwareAcceleratedDrawingEnabled(
isHardwareAcceleratedDrawingEnabled); isHardwareAcceleratedDrawingEnabled);
mEmojiPalettesView.setKeyboardActionListener(mLatinIME); mEmojiPalettesView.setKeyboardActionListener(mLatinIME);
mHorizontalKeyboardFrame = (LinearLayout)mCurrentInputView.findViewById( mHorizontalKeyboardFrame = mCurrentInputView.findViewById(R.id.horizontal_keyboard_frame);
R.id.horizontal_keyboard_frame);
return mCurrentInputView; return mCurrentInputView;
} }