Merge "Make LanguageOnSpacebarHelper as utility class"
diff --git a/java/src/com/android/inputmethod/latin/RichInputMethodManager.java b/java/src/com/android/inputmethod/latin/RichInputMethodManager.java
index bc700c0..cb1de6b 100644
--- a/java/src/com/android/inputmethod/latin/RichInputMethodManager.java
+++ b/java/src/com/android/inputmethod/latin/RichInputMethodManager.java
@@ -502,9 +502,7 @@
}
private void updateCurrentSubtype(@Nonnull final InputMethodSubtype subtype) {
- final RichInputMethodSubtype richSubtype = AdditionalFeaturesSettingUtils
- .createRichInputMethodSubtype(this, subtype, mContext);
- mCurrentRichInputMethodSubtype = richSubtype;
+ mCurrentRichInputMethodSubtype = new RichInputMethodSubtype(subtype);
}
private void updateShortcutIme() {