mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-12-21 01:58:32 +00:00
Signed-off-by: xuchenghua <xuchenghua09@huawei.com> Change-Id: Icbeb32a13c1f3f0154b36c4fa0d2ad0c37526256
This commit is contained in:
parent
4ec2b0744a
commit
e4dd5e1f8a
@ -217,16 +217,16 @@ void AppMgrServiceInner::MakeProcessName(
|
||||
if (!appInfo) {
|
||||
return;
|
||||
}
|
||||
if (!appInfo->process.empty()) {
|
||||
processName = appInfo->process;
|
||||
return;
|
||||
}
|
||||
// check after abilityInfo, because abilityInfo contains extension process.
|
||||
if (hapModuleInfo.isStageBasedModel && !hapModuleInfo.process.empty()) {
|
||||
processName = hapModuleInfo.process;
|
||||
HILOG_INFO("Stage mode, Make processName:%{public}s", processName.c_str());
|
||||
return;
|
||||
}
|
||||
if (!appInfo->process.empty()) {
|
||||
processName = appInfo->process;
|
||||
return;
|
||||
}
|
||||
processName = appInfo->bundleName;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user