提交 1a5a20f8 编写于 作者: C cy7717

mod

Signed-off-by: Ncy7717 <chenyu301@huawei.com>
上级 8d739099
......@@ -398,12 +398,13 @@ let inputMethodProperty = {
id: im.methodId,
extra: {}
}
let imSubType = inputMethod.getCurrentInputMethodSubtype();
try {
inputMethod.switchCurrentInputMethodAndSubtype(inputMethodProperty, {
id: "ServiceExtAbility",
id: "imSubType.id",
label: "",
name: "com.example.kikakeyboard",
mode: "upper",
name: "imSubType.name",
mode: "",
locale: "",
language: "",
icon: "",
......@@ -468,12 +469,13 @@ let inputMethodProperty = {
id: im.methodId,
extra: {}
}
let imSubType = inputMethod.getCurrentInputMethodSubtype();
try {
inputMethod.switchCurrentInputMethodAndSubtype(inputMethodProperty, {
id: im.methodId,
id: imSubType.id,
label: "",
name: im.packageName,
mode: "upper",
name: imSubType.name,
mode: "",
locale: "",
language: "",
icon: "",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册