change isCallerSetProcess() & setCallerSetProcess()

Signed-off-by: chenzexin <chenzexin14@huawei.com>
This commit is contained in:
chenzexin 2024-11-19 13:59:44 +00:00 committed by Gitee
parent 3f5812ee8d
commit d099751cc5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3075,12 +3075,12 @@ void AbilityRecord::SetStartToForeground(const bool flag)
bool AbilityRecord::IsCallerSetProcess() const
{
return isCallerSetProcess_;
return isCallerSetProcess_.load();
}
void AbilityRecord::SetCallerSetProcess(const bool flag)
{
isCallerSetProcess_ = flag;
isCallerSetProcess_.store(flag);
}
void AbilityRecord::CallRequest()