version:3.8

fix:修复报错
update:优化闹钟响铃
This commit is contained in:
2022-09-22 10:18:52 +08:00
parent d09d5022cf
commit 56a9a019ce
15 changed files with 359 additions and 52 deletions

View File

@@ -584,7 +584,9 @@ public class AlarmUtils {
timestamp += (8 - day_of_week) * AlarmManager.INTERVAL_DAY;
break;
default:
timestamp += (6 - day_of_week) * AlarmManager.INTERVAL_DAY;
if (System.currentTimeMillis() > timestamp) {
timestamp += AlarmManager.INTERVAL_DAY;
}
break;
}
Intent intent = new Intent(action);