[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_ =