My question is quite simple, but I couldn't get around it for a long time so I'm asking here.
How to hide the ongoing notification's icon, that is displayed in the status bar? I am creating the notification with NotificationCompat.Builder
object. I tried to skip (when the option to show icon is unchecked) the builder.setSmallIcon()
function call, but that resulted in no notification on the notifications screen.