From f8a785aa0c60641ad7367f1ebbf10b7af31a9cc9 Mon Sep 17 00:00:00 2001 From: ma-shaoyin Date: Wed, 20 Jul 2022 16:21:06 +0800 Subject: [PATCH] Signed-off-by: ma-shaoyin Changes to be committed: --- .../src/input_method_controller.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frameworks/inputmethod_controller/src/input_method_controller.cpp b/frameworks/inputmethod_controller/src/input_method_controller.cpp index 044cd8a..b7d4d48 100644 --- a/frameworks/inputmethod_controller/src/input_method_controller.cpp +++ b/frameworks/inputmethod_controller/src/input_method_controller.cpp @@ -350,8 +350,8 @@ using namespace MessageID; return; } - if (isStopInput == true) { - IMSA_HILOGD("InputMethodController::OnCursorUpdate isStopInput is true"); + if (isStopInput) { + IMSA_HILOGD("InputMethodController::OnCursorUpdate isStopInput"); return; } @@ -380,8 +380,8 @@ using namespace MessageID; return; } - if (isStopInput == true) { - IMSA_HILOGD("InputMethodController::OnSelectionChange isStopInput is true"); + if (isStopInput) { + IMSA_HILOGD("InputMethodController::OnSelectionChange isStopInput"); return; } @@ -426,8 +426,8 @@ using namespace MessageID; return false; } - if (isStopInput == true) { - IMSA_HILOGD("InputMethodController::dispatchKeyEvent isStopInput is true"); + if (isStopInput) { + IMSA_HILOGD("InputMethodController::dispatchKeyEvent isStopInput"); return false; } @@ -462,8 +462,8 @@ using namespace MessageID; return; } - if (isStopInput == true) { - IMSA_HILOGD("InputMethodController::SetCallingWindow isStopInput is true"); + if (isStopInput) { + IMSA_HILOGD("InputMethodController::SetCallingWindow isStopInput"); return; }