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
2 files changed