diff options
| author | 2023-10-03 20:37:46 +0000 | |
|---|---|---|
| committer | 2023-10-04 20:16:14 +0000 | |
| commit | 95071adc2264c48d6e986a8abe28b75361964da1 (patch) | |
| tree | 3634d4ff5b954c64f33fa499ee04489611abfa9d /libs/androidfw/ObbFile.cpp | |
| parent | 925853a950ec5459fbd16242381904833106ca34 (diff) | |
Turn off prefetch constraint relaxation on battery.
Only let prefetch jobs use the opportunistic quota when the device
is on charger to reduce excess battery drain. The opportunistic quota
usage behavior is optional and not required for prefetch jobs, so we can
disable it without impacting app or developer expectations.
Bug: 295046507
Bug: 299329948
Test: atest FrameworksMockingServicesTests:ConnectivityControllerTest
Test: atest FrameworksMockingServicesTests:PrefetchControllerTest
Change-Id: Idc137279fea1100f53ecf20279153fe92fdb5617
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions