Skip to content

Commit

Permalink
removed unnecessary logs
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperEssien2 committed Jul 21, 2022
1 parent 9c53b05 commit c725792
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,14 +291,10 @@ data class AlarmConfig(

set(Calendar.SECOND, alarmSecond ?: 0)

Log.i("AlarmManagerHelper", "INstance of ${this.get(Calendar.DATE)}")

if(this <= Calendar.getInstance()){
// Add an additional day, if alarm is set before "now" time
// to prevent alarm from getting triggered
set(Calendar.DATE, this.get(Calendar.DATE) + 1)

Log.i("AlarmManagerHelper", "NEW DATE ${this.get(Calendar.DATE)}")
}


Expand Down

0 comments on commit c725792

Please sign in to comment.