mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-18 17:24:37 -04:00
Signed-off-by: GlaryCastle <yangpeng190@huawei.com>
Changes to be committed: modified: services/src/input_method_system_ability.cpp
This commit is contained in:
@@ -175,18 +175,18 @@ namespace MiscServices {
|
||||
dprintf(fd, "\n - InputMethodSystemAbility::DumpAllMethod get Active Id failed.\n");
|
||||
return;
|
||||
}
|
||||
dprintf(fd, "\n - DumpAllMethod get Active Id succeed,count=%d,", ids.size());
|
||||
for (auto it : ids) {
|
||||
dprintf(fd, "\n - DumpAllMethod get Active Id succeed,count=%zu,", ids.size());
|
||||
for (auto id : ids) {
|
||||
std::vector<InputMethodProperty *> properties;
|
||||
listInputMethodByUserId(it, &properties);
|
||||
listInputMethodByUserId(id, &properties);
|
||||
if (properties.empty()) {
|
||||
IMSA_HILOGI("The IME properties is empty.");
|
||||
dprintf(fd, "\n - The IME properties is empty.\n");
|
||||
dprintf(fd, "\n - The IME properties about the Active Id %d is empty.\n",id);
|
||||
continue;
|
||||
}
|
||||
std::string params;
|
||||
GetInputMethodParam(properties, params);
|
||||
dprintf(fd, "\n - The Active Id:%d get input method:\n%s\n", it, params.c_str());
|
||||
dprintf(fd, "\n - The Active Id:%d get input method:\n%s\n", id, params.c_str());
|
||||
}
|
||||
IMSA_HILOGI("InputMethodSystemAbility::DumpAllMethod end.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user