Signed-off-by: cy7717 <chenyu301@huawei.com>
This commit is contained in:
cy7717 2023-05-05 20:16:19 +08:00
parent 95e0f13a7c
commit 876d49e0e8
2 changed files with 2 additions and 2 deletions

View File

@ -522,7 +522,7 @@ void JsGetInputMethodSetting::OnImeChange(const Property &property, const SubPro
void JsGetInputMethodSetting::OnPanelStatusChange(
const InputWindowStatus &status, const std::vector<InputWindowInfo> &windowInfo)
{
IMSA_HILOGI("status: %{public}d", static_cast<uint32_t>(status));
IMSA_HILOGI("status: %{public}u", static_cast<uint32_t>(status));
std::string type = status == InputWindowStatus::SHOW ? "imeShow" : "imeHide";
uv_work_t *work = GetUVwork(type, [&windowInfo](UvEntry &entry) { entry.windowInfo = windowInfo; });
if (work == nullptr) {

View File

@ -100,7 +100,7 @@ public:
static napi_status GetValue(napi_env env, napi_value in, const std::string &type, napi_value &out);
static napi_status GetValue(napi_env env, napi_value in, PanelInfo &out);
static napi_value GetValue(napi_env env, const std::vector<InputWindowInfo> &in);
static napi_value GetValue(napi_env env, const InputWindowInfo &in);
static napi_value GetValue(napi_env env, const InputWindowInfo &in);
private:
static int32_t Convert(int32_t code);