fix:8972: set weekly report at 11 on winter time switch day, fix loop.
Description
On the the Sunday of summer time to winter time switch, at 10:00, the Advanced Privacy notifications keeps popping up repeatedly until 11:00. In the app itself the reports are succeeding crazily one after the other creating an overlapping and making them unreadable.
Screenshots
Technical details
2025-10-26 10:58:01.070 5417-5447 WeeklyRepo...rScheduler foundation.e.advancedprivacy D Schedule Weeklyreport for 2025-10-26T10:00+01:00[Europe/Paris], in -3481 seconds
AdvancedPrivacy add 11 hours after midnight to schedules next report. On the summer to winter time day, midnight + 11 hours is 10:00 (not 11:00). It ends scheduling the next report in the past (which execute immediately), instead of the next week ; starting the loop.
Tests
- Set the time-zone to one with summer time : for instance region = France
- Change date and time to Sunday 2025-10-26 10:10
- Force-stop Advanced-Privacy, and restart it
- The weekly report should not pop.
- Change time to 11:10
- The weekly report should pop.