Signed-off-by: lovechinamo <wangdongqi2@huawei.com>

Changes to be committed:
This commit is contained in:
lovechinamo
2022-06-01 18:48:30 +08:00
parent 8377d49363
commit 9ba3c5f621
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ namespace MiscServices {
{
IMSA_HILOGI("PerUserSession::ResetIme");
std::unique_lock<std::mutex> lock(mtx);
InputMethodProperty *ime[] = {defaultIme, securityIme};
InputMethodProperty *ime[2] = {defaultIme, securityIme};
for (int i = 0; i < MIN_IME; i++) {
if (currentIme[i] == ime[i] && ime[i]) {
continue;