commit | 47f284af49d2aef7c3bc0c2c9d1295c190e8be1a | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Mon Sep 09 16:54:49 2013 -0700 |
committer | Android Git Automerger <android-git-automerger@android.com> | Mon Sep 09 16:54:49 2013 -0700 |
tree | 366e193499761bb56be9118091ca2102959de0c2 | |
parent | 5868e06192bd14c3037c8b83155b35fe9ec41f93 [diff] | |
parent | ee549d256f50ca3078a8537fa5b32a3f86295ea5 [diff] |
am ee549d25: am ff9ec2d9: healthd: perform periodic chores when awake and on battery power * commit 'ee549d256f50ca3078a8537fa5b32a3f86295ea5': healthd: perform periodic chores when awake and on battery power
diff --git a/healthd/healthd.cpp b/healthd/healthd.cpp index f7c79c4..900cc42 100644 --- a/healthd/healthd.cpp +++ b/healthd/healthd.cpp
@@ -250,6 +250,9 @@ if (events[n].data.ptr) (*(void (*)())events[n].data.ptr)(); } + + if (!nevents) + periodic_chores(); } return;