Skip to content
Commit da1f1d41 authored by ginovva320's avatar ginovva320
Browse files

Update to LocalNotification.cancel()

Based on this answer from CommonsWare http://stackoverflow.com/a/16340703/2163901

When canceling a PendingIntent, there's no need to pass in extra flags to PendingIntent.getBroadcast. When you pass the flag in, the PendingIntent is not really cancelled. This can be confirmed by using the dumpsys utility as such: adb shell dumpsys alarm.
parent 215a6597
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment