Skip to content

Commit

Permalink
Revert "cancel previous notifs ID before showing new one (#4447)" (#4471
Browse files Browse the repository at this point in the history
)

Task/Issue URL: https://app.asana.com/0/488551667048375/1207173112197170/f

### Description
Revert cancel notifs before notify as it's causing pulsing notif icon in the status bar in some OEMs

### Steps to test this PR
NA
  • Loading branch information
aitorvs committed Apr 26, 2024
1 parent e5c29b9 commit df7ccdf
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ fun NotificationManagerCompat.checkPermissionAndNotify(
notification: Notification,
) {
if (ActivityCompat.checkSelfPermission(context, POST_NOTIFICATIONS) == PERMISSION_GRANTED) {
cancel(id) // ensure previous notifications with same ID are dismissed
notify(id, notification)
}
}

0 comments on commit df7ccdf

Please sign in to comment.