mirror of
https://gitee.com/openharmony/security_asset
synced 2024-11-27 10:00:46 +00:00
want.GetBundle();
Signed-off-by: zhangwenzhi <zhangwenzhi3@huawei.com>
This commit is contained in:
parent
980074fa91
commit
33c7c8d2bb
@ -44,7 +44,7 @@ void HandlePackageRemoved(const OHOS::AAFwk::Want &want, bool isSandBoxApp, OnPa
|
||||
}
|
||||
|
||||
std::string owner = appId + '_' + std::to_string(appIndex);
|
||||
std::string bundleName = want.GetStringParam(BUNDLE_NAME);
|
||||
std::string bundleName = want.GetBundle();
|
||||
if (onPackageRemoved != nullptr) {
|
||||
onPackageRemoved(userId, reinterpret_cast<const uint8_t *>(owner.c_str()), owner.size(),
|
||||
reinterpret_cast<const uint8_t *>(bundleName.c_str()), appIndex);
|
||||
|
Loading…
Reference in New Issue
Block a user