From b1c42942e9b554a4c913ff1c22d51447d9db9b60 Mon Sep 17 00:00:00 2001 From: lovechinamo Date: Wed, 1 Jun 2022 18:52:27 +0800 Subject: [PATCH] Signed-off-by: lovechinamo Changes to be committed: --- services/src/input_method_system_ability.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/src/input_method_system_ability.cpp b/services/src/input_method_system_ability.cpp index 40f6e9a..e24eb26 100644 --- a/services/src/input_method_system_ability.cpp +++ b/services/src/input_method_system_ability.cpp @@ -285,7 +285,7 @@ namespace MiscServices { \return ErrorCode::NO_ERROR no error \return ErrorCode::ERROR_USER_NOT_UNLOCKED user not unlocked */ - int32_t InputMethodSystemAbility::getDisplayMode(int32_t retMode) + int32_t InputMethodSystemAbility::getDisplayMode(int32_t &retMode) { int32_t uid = IPCSkeleton::GetCallingUid(); int32_t userId = getUserId(uid);