Add TODOs for registerReceiver calls without flag

PiperOrigin-RevId: 461165173
(cherry picked from commit 5a163765377ab2f43d40fc19fe7a4c50d7d2369d)
This commit is contained in:
olly 2022-07-15 10:34:53 +00:00 committed by microkatz
parent 95c84e55bc
commit 99a2077f73

View File

@ -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) {