Signed-off-by: xuchenghua09 <xuchenghua09@huawei.com>
This commit is contained in:
xuchenghua09 2022-06-28 15:00:32 +08:00
parent 6d628c9f04
commit 307412157e
3 changed files with 5 additions and 5 deletions

View File

@ -348,7 +348,6 @@ int AbilityManagerService::StartAbilityInner(const Want &want, const sptr<IRemot
{
HITRACE_METER_NAME(HITRACE_TAG_ABILITY_MANAGER, __PRETTY_FUNCTION__);
if (VerifyAccountPermission(userId) == CHECK_PERMISSION_FAILED) {
HILOG_ERROR("%{public}s: Permission verification failed.", __func__);
return CHECK_PERMISSION_FAILED;
@ -2953,7 +2952,8 @@ int AbilityManagerService::GenerateAbilityRequestByAction(int32_t userId,
IN_PROCESS_CALL_WITHOUT_RET(bms->ImplicitQueryInfos(
request.want, abilityInfoFlag, userId, abilityInfos, extensionInfos));
HILOG_INFO("ImplicitQueryInfos, abilityInfo size : %{public}d, extensionInfos size: %{public}d", abilityInfos.size(), extensionInfos.size());
HILOG_INFO("ImplicitQueryInfos, abilityInfo size : %{public}d, extensionInfos size: %{public}d",
abilityInfos.size(), extensionInfos.size());
auto isExtension = (request.callType == AbilityCallType::START_EXTENSION_TYPE ||
request.callType == AbilityCallType::CONNECT_ABILITY_TYPE);

View File

@ -273,7 +273,7 @@ void SystemDialogScheduler::DialogPositionAdaptive(DialogPosition &position, int
}
} else {
position.height = (lineNums > LINE_NUMS_EIGHT) ? UI_SELECTOR_DIALOG_PHONE_H3 :
(lineNums > LINE_NUMS_THREE ? UI_SELECTOR_DIALOG_PHONE_H2 :
(lineNums > LINE_NUMS_THREE ? UI_SELECTOR_DIALOG_PHONE_H2 :
(lineNums > LINE_NUMS_ZERO ? UI_SELECTOR_DIALOG_PHONE_H1 : position.height));
}
}

View File

@ -70,12 +70,12 @@ public:
params_ = "";
}
std::string GetParams()
std::string GetParams()
{
return params_;
}
bool IsCallBack()
bool IsCallBack()
{
return isCallBack_;
}