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

Skip to content

feat:3720: Remove persistent flag, switch to system UID

Description

As it has been done on eDrive, Advanced-Privacy, ... we pursue the effort of removing the persistent flag on apps which aren't required for basic use of the system.

After some test on redfin A15, it appears that

  • granting allow-in-powersave
  • setting sharedUid == systemUid
  • removing all "Foreground-service" related permissions

avoid killing and freezing of the app by the system.

Tests

  • Install Pachly from AppLounge (or any UnifiedPush capable app), and bserve that notification are working
  • Enable in developer settings "suspend execution for cached apps" instead of ("device default")
  • Activate Battery saver
  • Disconnect the phone for at least 30minutes
  • Then send to the app a notification, it should notify quickly, without requiring to wakeup the phone manually.

Issues

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

10 commandments of code review

👪 ❤️ https://gitlab.e.foundation/groups/e/-/wikis/contribute/development-processes/code-review-guidelines

Merge request reports

Loading