Skip to content

Commit

Permalink
Fixes deadlock
Browse files Browse the repository at this point in the history
Documented on ryanheise#1063
  • Loading branch information
redbaty committed May 10, 2024
1 parent 134dffc commit 739c46c
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -636,10 +636,8 @@ private Notification buildNotification() {
builder.setContentText(description.getSubtitle());
if (description.getDescription() != null)
builder.setSubText(description.getDescription());
synchronized (this) {
if (artBitmap != null)
builder.setLargeIcon(artBitmap);
}
if (artBitmap != null)
builder.setLargeIcon(artBitmap);
}
if (config.androidNotificationClickStartsActivity)
builder.setContentIntent(mediaSession.getController().getSessionActivity());
Expand Down

0 comments on commit 739c46c

Please sign in to comment.