version:3.8
fix:修复报错 update:优化闹钟响铃
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user