commit | c000351699e3f1c76d6b17bbb0e1069b3cfd05d4 | [log] [tgz] |
---|---|---|
author | John Williams <[email protected]> | Fri Oct 09 22:05:07 2020 |
committer | Commit Bot <[email protected]> | Fri Oct 09 22:05:07 2020 |
tree | df4df66b8d259449a1655fca168563a959ae739b | |
parent | 833997710b27cc8ae2db4d1e66cf61884d1f94d3 [diff] |
[Media Controls] Prevent showing dummy media notifications. This change prevents a blank media notification from being shown (due to a partially implemented feature) unless the appropriate feature flags are enabled. (cherry picked from commit 523480dd9993967b1b1793b7058220d4008825f5) Bug: 1134356, b/169946872 Change-Id: I54a0575a302e4215f9d3fd98cd39af4d38f944ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2453893 Reviewed-by: Tommy Steimel <[email protected]> Reviewed-by: Takumi Fujimoto <[email protected]> Commit-Queue: John Williams <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#814358} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463927 Cr-Commit-Position: refs/branch-heads/4280@{#208} Cr-Branched-From: ea420fb963f9658c9969b6513c56b8f47efa1a2a-refs/heads/master@{#812852}
diff --git a/chrome/browser/ui/global_media_controls/media_notification_service.cc b/chrome/browser/ui/global_media_controls/media_notification_service.cc index 408d6f3..85321c5e 100644 --- a/chrome/browser/ui/global_media_controls/media_notification_service.cc +++ b/chrome/browser/ui/global_media_controls/media_notification_service.cc
@@ -313,8 +313,6 @@ base::BindRepeating( &MediaNotificationService::OnCastNotificationsChanged, base::Unretained(this))); - presentation_request_notification_provider_ = - std::make_unique<PresentationRequestNotificationProvider>(this); } if (media_router::GlobalMediaControlsCastStartStopEnabled()) { presentation_request_notification_provider_ =