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

mod

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