mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2025-01-09 09:30:30 +00:00
Signed-off-by: mingxihua <mingxihua@huawei.com>
This commit is contained in:
parent
ecb4f96b23
commit
c09a39a4ca
@ -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_);
|
||||
}
|
||||
|
||||
|
@ -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",
|
||||
|
@ -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" ]
|
||||
|
||||
|
@ -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)" ]
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user