diff options
author | Dianne Hackborn <hackbod@google.com> | 2016-11-02 10:41:53 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2016-11-02 10:44:00 -0700 |
commit | 951ea6907c6cc01ce3f9ec4859d65a184c7ce785 (patch) | |
tree | 273faad500497c84edf057e21e147cb82a8a7156 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 2e8288f4507331fda4238c2e1e0bb0194f1aef3d (diff) |
Power manager always needs to allow wake locks for services, receivers
The change to not allow wake locks for idle apps was a little too
aggressive, since we allow apps that are currently executing services
or receivers to be idle. (Idle means that it hasn't been in the
foreground for X amount of time, but services and receivers don't count
as being in the foreground.)
So this takes in to account the actual procstate of the uid to determine
if it should actually respect the current idle state.
Test: manual
Change-Id: I32949124b37875b13233478719abccb8369e47f6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions