mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-23 22:59:45 +00:00
Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>
Changes to be committed:
This commit is contained in:
parent
2886f6e8f3
commit
acd77d5b21
@ -157,8 +157,10 @@ void ImCommonEventManager::EventSubscriber::DealWithRemoveEvent(const AAFwk::Wan
|
||||
IMSA_HILOGI("bundleName = %{public}s, userId = %{public}d", bundleName.c_str(), userId);
|
||||
|
||||
MessageParcel *parcel = new MessageParcel();
|
||||
parcel->WriteInt32(userId);
|
||||
parcel->WriteString16(Str8ToStr16(bundleName));
|
||||
if (!ITypesUtil::Marshal(*parcel, userId, Str8ToStr16(bundleName))) {
|
||||
IMSA_HILOGE("Failed to write message parcel");
|
||||
return;
|
||||
}
|
||||
Message *msg = new Message(MessageID::MSG_ID_PACKAGE_REMOVED, parcel);
|
||||
MessageHandler::Instance()->SendMessage(msg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user