Skip to content

Commit

Permalink
Add TODOs for registerReceiver calls without flag
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 461165173
  • Loading branch information
ojw28 authored and rohitjoins committed Jul 15, 2022
1 parent 6d27ff8 commit 5a16376
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,7 @@ private void startOrUpdateNotification(Player player, @Nullable Bitmap bitmap) {
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) {
Expand Down

0 comments on commit 5a16376

Please sign in to comment.