aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/RichInputMethodManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/com/android/inputmethod/latin/RichInputMethodManager.java')
-rw-r--r--java/src/com/android/inputmethod/latin/RichInputMethodManager.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/RichInputMethodManager.java b/java/src/com/android/inputmethod/latin/RichInputMethodManager.java
index bc700c0b7..cb1de6b17 100644
--- a/java/src/com/android/inputmethod/latin/RichInputMethodManager.java
+++ b/java/src/com/android/inputmethod/latin/RichInputMethodManager.java
@@ -502,9 +502,7 @@ public class RichInputMethodManager {
}
private void updateCurrentSubtype(@Nonnull final InputMethodSubtype subtype) {
- final RichInputMethodSubtype richSubtype = AdditionalFeaturesSettingUtils
- .createRichInputMethodSubtype(this, subtype, mContext);
- mCurrentRichInputMethodSubtype = richSubtype;
+ mCurrentRichInputMethodSubtype = new RichInputMethodSubtype(subtype);
}
private void updateShortcutIme() {