Signed-off-by: mingxihua <mingxihua@huawei.com>
This commit is contained in:
mingxihua 2022-06-08 11:32:03 +08:00
parent ecb4f96b23
commit c09a39a4ca
5 changed files with 4 additions and 4 deletions

View File

@ -728,7 +728,6 @@ int AbilityRecord::TerminateAbility()
{
HITRACE_METER_NAME(HITRACE_TAG_ABILITY_MANAGER, __PRETTY_FUNCTION__);
HILOG_INFO("Schedule terminate ability to AppMs, ability:%{public}s.", abilityInfo_.name.c_str());
HILOG_INFO("Schedule terminate ability to AppMs, clearMissionFlag_:%{public}d.", clearMissionFlag_);
return DelayedSingleton<AppScheduler>::GetInstance()->TerminateAbility(token_, clearMissionFlag_);
}

View File

@ -26,6 +26,7 @@ ohos_unittest("wants_info_test") {
"//foundation/ability/ability_runtime/interfaces/innerkits/wantagent/include",
"//foundation/ability/ability_runtime/services/abilitymgr/include",
"//foundation/ability/ability_runtime/frameworks/kits/appkit/native/ability_runtime",
"//foundation/communication/ipc/interfaces/innerkits/ipc_core/include",
"//foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include",
"//foundation/resourceschedule/background_task_mgr/frameworks/common/include",
"//foundation/resourceschedule/background_task_mgr/frameworks/include",

View File

@ -19,7 +19,7 @@ module_output_path = "ability_runtime/mstappmgrservice"
ohos_moduletest("AmsAppServiceFlowModuleTest") {
module_out_path = module_output_path
include_dirs =
include_dirs =
[ "//base/hiviewdfx/hilog/interfaces/native/innerkits/include/" ]
sources = [ "ams_app_service_flow_module_test.cpp" ]

View File

@ -19,7 +19,7 @@ module_output_path = "ability_runtime/mstappmgrservice"
ohos_moduletest("AmsServiceAppSpawnClientModuleTest") {
module_out_path = module_output_path
include_dirs =
include_dirs =
[ "//base/hiviewdfx/hilog/interfaces/native/innerkits/include" ]
defines = [ "usleep(time) = MockSleep(time)" ]

View File

@ -19,7 +19,7 @@ module_output_path = "ability_runtime/mstappmgrservice"
ohos_moduletest("AmsServiceStartModuleTest") {
module_out_path = module_output_path
include_dirs =
include_dirs =
[ "//base/hiviewdfx/hilog/interfaces/native/innerkits/include" ]
sources = [
"${services_path}/appmgr/src/system_environment_information.cpp",