Skip to content

Commit

Permalink
[ads] Notification ads are shown when playing media
Browse files Browse the repository at this point in the history
  • Loading branch information
tmancey committed May 11, 2024
1 parent ec2bc7f commit 3fe6350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser/brave_ads/tabs/ads_tab_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void AdsTabHelper::OnMaybeNotifyTabTextContentDidChange(

void AdsTabHelper::MaybeNotifyTabDidStartPlayingMedia() {
if (ads_service_) {
ads_service_->NotifyTabDidStopPlayingMedia(tab_id_.id());
ads_service_->NotifyTabDidStartPlayingMedia(tab_id_.id());
}
}

Expand Down

0 comments on commit 3fe6350

Please sign in to comment.