How to create a notification without icon in the statusbar or simply hide it?

前端 未结 5 1566
闹比i
闹比i 2021-01-02 00:42

I\'d like to know how to create a notification that doesn\'t show the icon in the statusbar.

There is a way to hide it?

5条回答
  •  北荒
    北荒 (楼主)
    2021-01-02 01:19

    NotificationManager.IMPORTANCE_UNSPECIFIED works in my case

提交回复
热议问题