mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-27 01:10:52 +00:00
Support get caller info when ability has been started.
Signed-off-by: zhangyafei-echo <zhangyafei12@huawei.com> Change-Id: I08160b9141315a523be73969d1b72f7d3adb0427
This commit is contained in:
parent
fa2dc3e72a
commit
f82445c805
@ -9332,6 +9332,7 @@ int32_t AbilityManagerService::StartAbilityByCallWithInsightIntent(const Want &w
|
||||
auto missionListMgr = GetListManagerByUserId(oriValidUserId);
|
||||
if (IsAbilityStarted(abilityRequest, targetRecord, oriValidUserId)) {
|
||||
HILOG_INFO("ability has already started");
|
||||
UpdateCallerInfo(abilityRequest.want, callerToken);
|
||||
result = OnExecuteIntent(abilityRequest, targetRecord);
|
||||
} else {
|
||||
result = StartAbilityByCall(want, connect, callerToken);
|
||||
|
Loading…
Reference in New Issue
Block a user