mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-23 07:10:19 +00:00
!11688 wantagent日志级别调整
Merge pull request !11688 from linjunjie/ljj_master
This commit is contained in:
commit
3cb580fcb5
@ -129,7 +129,7 @@ sptr<IWantSender> PendingWantManager::GetWantSenderLocked(const int32_t callingU
|
||||
rec->SetCallerUid(callingUid);
|
||||
pendingKey->SetCode(PendingRecordIdCreate());
|
||||
wantRecords_.insert(std::make_pair(pendingKey, rec));
|
||||
TAG_LOGD(AAFwkTag::WANTAGENT, "wantRecords_ size %{public}zu", wantRecords_.size());
|
||||
TAG_LOGI(AAFwkTag::WANTAGENT, "wantRecords_ size %{public}zu", wantRecords_.size());
|
||||
return rec;
|
||||
}
|
||||
return nullptr;
|
||||
@ -137,7 +137,7 @@ sptr<IWantSender> PendingWantManager::GetWantSenderLocked(const int32_t callingU
|
||||
|
||||
void PendingWantManager::MakeWantSenderCanceledLocked(PendingWantRecord &record)
|
||||
{
|
||||
TAG_LOGD(AAFwkTag::WANTAGENT, "begin");
|
||||
TAG_LOGI(AAFwkTag::WANTAGENT, "begin");
|
||||
|
||||
record.SetCanceled();
|
||||
for (auto &callback : record.GetCancelCallbacks()) {
|
||||
|
@ -81,6 +81,7 @@ int32_t PendingWantRecord::SenderInner(SenderInfo &senderInfo)
|
||||
return ERR_INVALID_VALUE;
|
||||
}
|
||||
|
||||
TAG_LOGI(AAFwkTag::WANTAGENT, "before CancelWantSenderLocked");
|
||||
if (((uint32_t)key_->GetFlags() & (uint32_t)Flags::ONE_TIME_FLAG) != 0) {
|
||||
pendingWantManager->CancelWantSenderLocked(*this, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user