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

Skip to content
Commit 728943fd authored by Kweku Adams's avatar Kweku Adams
Browse files

Don't give RESTRICTED jobs temp allowlist exemption.

Decoupling high priority cloud messages from standby buckets means
that it's now possible for WORKING_SET, RARE, and RESTRICTED apps
to send a large number of (or frequent) messages to the device.
High priority cloud messages often end up putting the app on the
temp allowlist. Since we give free EJ execution to apps on the
temp allowlist, this creates an avenue for apps to essentially get
unlimited/free EJ execution. Apps are intended to only be in the
RESTRICTED bucket for egregious cases, so it makes sense to not
give them free/unlimited EJ execution.

Bug: 228182860
Test: atest FrameworksMockingServicesTests:QuotaControllerTest
Change-Id: I31c1bd007412f0dc2b1b422c367e2c0af1213a11
parent 2cb1c268
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment