How to edit/reset Alarm Manager?

前端 未结 2 1054
执念已碎
执念已碎 2021-01-05 11:28

I\'ve set up a Preference Screen in which i have a list preference which allows user to select time interval to notify them.

They can choose whether to

2条回答
  •  半阙折子戏
    2021-01-05 11:58

    FLAG_CANCEL_CURRENT has the same effect as above answer

    PendingIntent pi = PendingIntent.getService(this, 0, notifIntent, PendingIntent.FLAG_CANCEL_CURRENT);
    

提交回复
热议问题