Commit 523480dd authored by John Williams's avatar John Williams Committed by Commit Bot

[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.


Bug: 1134356, b/169946872
Change-Id: I54a0575a302e4215f9d3fd98cd39af4d38f944ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2453893Reviewed-by: default avatarTommy Steimel <steimel@chromium.org>
Reviewed-by: default avatarTakumi Fujimoto <takumif@chromium.org>
Commit-Queue: John Williams <jrw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814358}
parent 9f901ff4
......@@ -325,8 +325,6 @@ MediaNotificationService::MediaNotificationService(Profile* profile,
base::BindRepeating(
&MediaNotificationService::OnCastNotificationsChanged,
base::Unretained(this)));
presentation_request_notification_provider_ =
std::make_unique<PresentationRequestNotificationProvider>(this);
}
if (media_router::GlobalMediaControlsCastStartStopEnabled()) {
presentation_request_notification_provider_ =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment