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
Loading
Please register or sign in to comment