From 5a163765377ab2f43d40fc19fe7a4c50d7d2369d Mon Sep 17 00:00:00 2001 From: olly Date: Fri, 15 Jul 2022 10:34:53 +0000 Subject: [PATCH] Add TODOs for registerReceiver calls without flag PiperOrigin-RevId: 461165173 --- .../google/android/exoplayer2/ui/PlayerNotificationManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerNotificationManager.java b/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerNotificationManager.java index ec5e48e37f..d841558284 100644 --- a/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerNotificationManager.java +++ b/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerNotificationManager.java @@ -1162,6 +1162,7 @@ public class PlayerNotificationManager { Notification notification = builder.build(); notificationManager.notify(notificationId, notification); if (!isNotificationStarted) { + // TODO(b/197817693): Explicitly indicate whether the receiver should be exported. context.registerReceiver(notificationBroadcastReceiver, intentFilter); } if (notificationListener != null) {