summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2022-08-25 22:53:28 +0000
committer Kweku Adams <kwekua@google.com> 2022-11-29 19:45:01 +0000
commit88844c437844e12a11170b0b77f2517ff6198e7c (patch)
treec281afb1827f6b43ca75674da828de705dccf934 /libs/androidfw/AssetsProvider.cpp
parent813816a4cc475d8894a74ed2741a901507bdabec (diff)
Give installers exemptions after first setup.
Temporarily grant system installers VIP status for some time after TARE's first setup so they can install and update all the apps they need to. The temporary grant will be reapplied after reboots until the allotted time has transpired. The VIP status means they won't use any of their credits and will be able to do work even if the stock/consumption limit is depleted. The installer exemption is set to expire after the device has been on for 7 days, at which point, the installer's maximum balance will be lowered back to normal levels and the balance will eventually stabilize to normal levels. We will also give installers on a newly added user the temporary exemptions. Bug: 243588926 Test: reset device and check TARE dump Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/tare Change-Id: Ic468f652e30cc59a41e8034304ea90c54d60781e
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions