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

Skip to content

fix : Despite a screen time set user can exceed the limit

Frank Preel requested to merge 3348-midnight-event into main

Description

The event monitor, that take care of the screen time count handle only Background / Foreground activity and works on current days period. Thus if an activity is always in the foreground, the activity is considered as not stared.

Briefly displays something invisible at midnight to handle the special case of an activity (like video) without user interaction. In order to have an event at this date in UsageStatsManager so as to be able to count down the times correctly.

Screenshots

Technical details

Tests

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/3348

10 commandments of code reviews

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

Merge request reports

Loading