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

Skip to content
Commit b6d1c7df authored by Achim Thesmann's avatar Achim Thesmann
Browse files

Use allowBalExemptionForSystemProcess

Instead of the existing BackgroundActivityStartPrivileges typed
`forcedBalByPiSender` use a simple boolean
`allowBalExemptionForSystemProcess` to allow the sender to use the
guarded exemption (start if system process) when allowing BAL.

The idea is to completely replace this with an upgrade of
`MODE_BACKGROUND_ACTIVITY_START_ALLOWED` to
`MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS`.

Test: atest WmTests CtsWindowManagerBackgroundActivityTestCases
Flag: EXEMPT refactoring
Bug: 374988683
Change-Id: I4846796722dadcf0c212acf8b547fe6a1da7f676
parent b8ea4dca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment