summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2016-03-02 10:36:07 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-03-04 09:57:32 -0800
commit8ff13dea571cefa0197d71b37d69adbe2908ad55 (patch)
tree75255c059834ee1721a692cf6df5e182b7e70812 /Android.mk
parentc014d6c5814fe766bc8ba586919e0986297b23d1 (diff)
downloadframeworks_base-8ff13dea571cefa0197d71b37d69adbe2908ad55.zip
frameworks_base-8ff13dea571cefa0197d71b37d69adbe2908ad55.tar.gz
frameworks_base-8ff13dea571cefa0197d71b37d69adbe2908ad55.tar.bz2
NetworkPolicyManager : Process low power mode change on background thread
Since PowerManagerService runs in the same process, the callbacks occur on the invocation thread. updateRulesForGlobalChangeLocked can take quite long to process which in turns blocks the system processes background thread queue and delays things like switching to/from power saver mode. Address this by processing the action on our background thread via the handler, and to not queue up multiple calls. Change-Id: Ibbcae795f0138a1e1836f0df92f905178d34b684
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions