The other day I thought it would be a good idea to list set alarms in android, so I whipped up the following code:
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
private void listAlarms() {
for (AlarmManager.AlarmClockInfo aci = mAlarmManager.getNextAlarmClock();
aci != null;
aci = mAlarmManager.getNextAlarmClock()) {
Log.d(TAG, aci.getShowIntent().toString());
Log.