Android Heads-up notification disappears after a few seconds

后端 未结 5 517

I would that the notification does not disappear after a few seconds. So i have create the notification like this:

  NotificationCompat.Builder builder = new         


        
5条回答
  •  北海茫月
    2020-12-07 04:22

    The duration cannot be changed. Otherwise it would intrude with other heads-up notifications that are in the queue to be displayed.

提交回复
热议问题