diff options
author | Dianne Hackborn <hackbod@google.com> | 2015-11-11 18:10:30 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2015-11-16 16:38:29 -0800 |
commit | 627dfa1ddafc96b912ae938677a48a16f7ab255c (patch) | |
tree | 515d685655731a7e7072b2d9864b617c47be7747 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f20bfb677653d8f43c70ec58b2f3f884e6690dcb (diff) |
Be smarter about determining when we can stop idle maintenance.
The device idle service now knows when the system is actively
doing significant things (syncs, jobs, alarms, downloads). It
uses this, when in an idle maintenance window, to determine when
it can end that window early -- when such work is no longer
happening.
For now this just allows us to shorten the windows. In the future
we should use this to allow us to expand the windows to a longer
potential time, adjusting future windows to shorter durations if
earlier ones use more time. This will allow us to batch occasional
long operations (such as downloads) into one window, making up
for that with much shorter later windows.
Change-Id: Ie482abd50bc43be9a8917a769a5175851eee4ec4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions