mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-18 17:24:37 -04:00
Signed-off-by: lovechinamo <wangdongqi2@huawei.com>
Changes to be committed:
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user