I have set a PendingIntent
with UPDATE_CURRENT_FLAG
, when i cancelled it, i try to check PendingIntent
instance (current pending intent) with FLAG_NO_CREATE
flag, but the result doesn't return null, please tell me how to fix it. Thank You
Asked
Active
Viewed 185 times
0

Nick Friskel
- 2,369
- 2
- 20
- 33

Kurniawan Rizki
- 23
- 7
-
1Post some code, how did you implement canceling and the check – maciekjanusz Dec 15 '16 at 13:52
-
Please show us the code you are using the cancel the `PendingIntent`. – David Wasser Dec 16 '16 at 12:17
-
Sorry to say but the issue has solve, i use UPDATE_CURRENT_FLAG when create alarm manager, and add a flag in intent that i used, so i can update the pending intent without i cancel it. Thank you for your advice. – Kurniawan Rizki Dec 21 '16 at 03:13
-
Wonderful. Please answer your own question and accept that answer, so that others can benefit from your solution! – David Wasser Dec 29 '16 at 17:32