original IME is not compatible with multi-client input editor
AOSP 10 has an multi-client IME sample under development/samples/MultiClientInputMethod
make -j MultiClientInputMethod
$ adb install -r $OUT/system/priv-app/MultiClientInputMethod/MultiClientInputMethod.apk
$ adb root
$ adb shell setprop persist.debug.multi_client_ime \
com.example.android.multiclientinputmethod/.MultiClientInputMethod$ adb reboot