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

Changes to be committed:
This commit is contained in:
lovechinamo
2022-06-06 14:42:30 +08:00
parent 573763a610
commit ad9623dad1
+1 -1
View File
@@ -237,7 +237,7 @@ namespace MiscServices {
{
IMSA_HILOGI("PerUserSession::ResetIme");
std::unique_lock<std::mutex> lock(mtx);
InputMethodProperty *ime[2] = {defaultIme, securityIme};
InputMethodProperty *ime[] = {defaultIme, securityIme};
for (int i = 0; i < MIN_IME; i++) {
if (currentIme[i] == ime[i] && ime[i]) {
continue;