reduce code

Signed-off-by: donglin <donglin9@huawei.com>
This commit is contained in:
donglin 2022-07-29 16:08:23 +08:00
parent a15819d6a7
commit ce1578241f

View File

@ -4925,7 +4925,7 @@ int32_t AbilityManagerService::ShowPickerDialog(const Want& want, int32_t userId
}
#endif
int CheckCrowdtestForeground(const Want &want, int requestCode, int32_t userId)
int AbilityManagerService::CheckCrowdtestForeground(const Want &want, int requestCode, int32_t userId)
{
if (AAFwk::ApplicationUtil::IsCrowdtestExpired(want, GetUserId())) {
HILOG_INFO("%{public}s: Crowdtest expired", __func__);