summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2022-04-01 17:08:41 +0000
committer Kweku Adams <kwekua@google.com> 2022-04-05 15:41:35 +0000
commit728943fd3d9474754b3004381bfecbda454edc5e (patch)
treecc4adea28e4b5a4e9787f4c1aea13f0b8926ab13 /libs/androidfw/AttributeResolution.cpp
parent2cb1c26875cd2ace8b5980f5d732178b40f484e8 (diff)
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions