Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>

Changes to be committed:
This commit is contained in:
ma-shaoyin 2023-06-02 11:39:48 +08:00
parent e9157dd104
commit 61b85297e1
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ private:
static std::string GetOperateAction(OperateIMEInfoCode infoCode);
private:
static std::map<std::string, int32_t> inputmethodBehaviour_;
static std::map<int32_t, int32_t> inputmethodBehaviour_;
static const std::map<int32_t, std::string> oprateInfo_;
};
} // namespace MiscServices

View File

@ -26,11 +26,11 @@ using HiSysEventNameSpace = OHOS::HiviewDFX::HiSysEvent;
const std::string DOMAIN_STR = std::string(HiSysEventNameSpace::Domain::INPUTMETHOD);
} // namespace
std::map<std::string, int> InputmethodSysevent::inputmethodBehaviour_ = {
std::map<int32_t, int32_t> InputmethodSysevent::inputmethodBehaviour_ = {
{START_IME, 0},
{CHANGE_IME, 0}
};
const std::map<int32_t, std::string> InputmethodSysevent::oprateInfo_ ={
const std::map<int32_t, std::string> InputmethodSysevent::oprateInfo_ = {
{IME_SHOW_ATTACH, "attach, bind and show soft keyboard."},
{IME_SHOW_ENEDITABLE, "enter editable state, show soft keyboard."},
{IME_SHOW_NORMAL, "show soft keyboard."},