Signed-off-by: sodanotgreen <limengzheng@huawei.com>
This commit is contained in:
sodanotgreen
2024-06-17 15:19:38 +08:00
parent bf45778667
commit cb5a995eb2
@@ -7171,6 +7171,9 @@ void AbilityManagerService::ScheduleClearRecoveryPageStack()
{
int32_t callerUid = IPCSkeleton::GetCallingUid();
std::string bundleName;
auto bms = GetBundleManager();
CHECK_POINTER_AND_RETURN(bms, ERR_INVALID_VALUE);
if (IN_PROCESS_CALL(bms->GetNameForUid(callerUid, bundleName)) != ERR_OK) {
TAG_LOGE(AAFwkTag::ABILITYMGR, "ScheduleClearRecoveryPageStack failed to get bundle name by uid");
return;