mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 12:43:16 -04:00
fix diff four
Signed-off-by: zhangzezhong <zhangzezhong8@huawei-partners.com>
This commit is contained in:
@@ -49,8 +49,10 @@ ohos_shared_library("autostartupcallback_ani") {
|
||||
]
|
||||
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"eventhandler:libeventhandler",
|
||||
"hilog:libhilog",
|
||||
"ipc:ipc_core",
|
||||
"runtime_core:ani",
|
||||
]
|
||||
|
||||
|
||||
@@ -43,8 +43,10 @@ ohos_shared_library("auto_startup_manager") {
|
||||
]
|
||||
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"eventhandler:libeventhandler",
|
||||
"hilog:libhilog",
|
||||
"ipc:ipc_core",
|
||||
"runtime_core:ani",
|
||||
]
|
||||
|
||||
|
||||
@@ -377,7 +377,7 @@ private:
|
||||
status = env->Object_CallMethodByName_Int(
|
||||
reinterpret_cast<ani_object>(ref), "intValue", nullptr, &missionId);
|
||||
if (status != ANI_OK) {
|
||||
TAG_LOGE(AAFwkTag::MISSION, "ConvertAniInt failed at index %{public}d", i);
|
||||
TAG_LOGE(AAFwkTag::MISSION, "ConvertAniInt failed at index %{public}zu", i);
|
||||
AsyncCallback(env, callback,
|
||||
EtsErrorUtil::CreateInvalidParamError(env, "Parse param missionIds failed, element must be int."),
|
||||
nullptr);
|
||||
@@ -428,7 +428,7 @@ private:
|
||||
status = env->Object_CallMethodByName_Int(
|
||||
reinterpret_cast<ani_object>(ref), "intValue", nullptr, &missionId);
|
||||
if (status != ANI_OK) {
|
||||
TAG_LOGE(AAFwkTag::MISSION, "ConvertAniInt failed at index %{public}d", i);
|
||||
TAG_LOGE(AAFwkTag::MISSION, "ConvertAniInt failed at index %{public}zu", i);
|
||||
AsyncCallback(env, callback,
|
||||
EtsErrorUtil::CreateInvalidParamError(env, "Parse param missionIds failed, element must be int."),
|
||||
nullptr);
|
||||
|
||||
Reference in New Issue
Block a user