Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

fix:3233: weeklyreport infinite loop on sunday

Guillaume Jacquart requested to merge 3233-weeklyreport_infinite_loop into main

Description

Fix infinite loop of WeeklyReport generation during the last day of week. Fix also the weekly report not disappearing accurately at midnight after it start being displayed

Technical details

Tests

I managed to reproduce the bug, moving the phone date time to a few minutes before "end of week 11h00" --> for example Saturday at 10:57 in en_US locale ; or sunday at 10:57 in fr_FR locale.

  • Then restart Advanced Privacy (using the settings -> apps -> AdvancedPrivacy screen for example)
  • then waiting a few minutes to reach 11:00 .

tests cases

Issues

10 commandments of code reviews

👪 ❤️ https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Edited by Guillaume Jacquart

Merge request reports

Loading