From bb670cd5b4d2bd50b23bdf8926df8e465123baef Mon Sep 17 00:00:00 2001 From: zhouyongfei Date: Tue, 15 Feb 2022 11:07:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E8=AF=8D=E6=B1=87=E4=B8=BAOH?= =?UTF-8?q?=E8=AF=8D=E6=B1=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhouyongfei --- services/src/input_method_system_ability.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/src/input_method_system_ability.cpp b/services/src/input_method_system_ability.cpp index c7d71e517..9a2655543 100644 --- a/services/src/input_method_system_ability.cpp +++ b/services/src/input_method_system_ability.cpp @@ -198,13 +198,13 @@ namespace MiscServices { } bool isStartSuccess = false; - sptr ams = GetAbilityManagerService(); - if (ams != nullptr) { + sptr abms = GetAbilityManagerService(); + if (abms != nullptr) { AAFwk::Want want; want.SetAction("action.system.inputmethod"); std::string::size_type pos = imeId.find("/"); want.SetElementName(imeId.substr(0, pos), imeId.substr(pos + 1)); - int32_t result = ams->StartAbility(want); + int32_t result = abms->StartAbility(want); if (result != 0) { IMSA_HILOGE("PerUserSession::StartInputService fail. result = %{public}d", result); isStartSuccess = false;