I'm adding alarms via AlarmManager
.
Checking with this command if the alarm exist:
adb shell dumpsys alarm
After setting the alarm (repeating alarm setRepeating()
), if I close the app via back button or close via task manager, the alarm is still there in the log.
But when I re-run the app (shift f10) from Android studio the alarm is not there anymore!
What am I missing?