Signed-off-by: zhongjianfei <zhongjianfei@huawei.com>
Change-Id: I3aa20ff82b5f6e786a58167402e089114c73a0b6
This commit is contained in:
zhongjianfei 2022-02-07 11:53:06 +08:00
parent 053b12d558
commit 5926abd3d7

View File

@ -508,8 +508,9 @@ ErrCode AbilityManagerShellCommand::RunAsStartAbility()
resultReceiver_ = STRING_START_ABILITY_OK + "\n";
} else {
HILOG_INFO("%{public}s result = %{public}d", STRING_START_ABILITY_NG.c_str(), result);
resultReceiver_ = STRING_START_ABILITY_NG + "\n";
if (result != START_ABILITY_WAITING) {
resultReceiver_ = STRING_START_ABILITY_NG + "\n";
}
resultReceiver_.append(GetMessageFromCode(result));
}
} else {