summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorJulius D'souza <jdsouza@google.com>2016-12-12 17:15:17 -0800
committerJulius D'souza <jdsouza@google.com>2016-12-13 18:28:31 -0800
commitf9f39cc4a870f1af4470ed4d5f876b5a2d37afa2 (patch)
tree9b66c77e4bd676b37661fa8f9f02f2a7c0651239 /tools/aapt2/diff/Diff.cpp
parent56247334f8b30d556d512a5da4c6d5e2110cd874 (diff)
DO NOT MERGE ANYWHERE: Hold a wake lock while DeviceIdleController
is going idle. The inputs to DeviceIdleController (alarm manager, sensors) hold wake locks while they call it. But then the real work happens in a handler which is outside of the wakelock, so listeners don't get a chance to run right away, which in the case of NetworkPolicyManager means the device is in a higher power state than it should be. It's not clear that this will 100% fix the bug, because NetworkPolicyManagerService also has its own internal Handler, and isn't holding its own wakelock for this, but this change allows NPMS to be fixed if it really needed to be. Bug: 31900521 Change-Id: I706045aa189147824c9214c57abc13993aee9a5b
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions