Skip to content

Commit

Permalink
add todo comments to update tag used when logging error message for e…
Browse files Browse the repository at this point in the history
…xact alarm permission being revoked
  • Loading branch information
MaikuB committed May 18, 2023
1 parent 89240c6 commit 8d2382b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ static void rescheduleNotifications(Context context) {
scheduleNotification(context, notificationDetails, false);
}
} catch (ExactAlarmPermissionException e) {
// TODO: update tag used to match name of class
Log.e("notification", e.getMessage());
removeNotificationFromCache(context, notificationDetails.id);
}
Expand All @@ -227,6 +228,7 @@ static void scheduleNextNotification(Context context, NotificationDetails notifi
removeNotificationFromCache(context, notificationDetails.id);
}
} catch (ExactAlarmPermissionException e) {
// TODO: update tag used to match name of class
Log.e("notification", e.getMessage());
removeNotificationFromCache(context, notificationDetails.id);
}
Expand Down

0 comments on commit 8d2382b

Please sign in to comment.