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

Skip to content
Commit 88844c43 authored by Kweku Adams's avatar Kweku Adams
Browse files

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
parent 813816a4
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