commit | e8332ee38cc9778aa7898bbd75858561ed1e0ba3 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Mon Nov 04 16:08:15 2013 -0800 |
committer | Eric Laurent <elaurent@google.com> | Thu Nov 07 16:42:06 2013 -0800 |
tree | 07dce7442357a537076cc8422d64b28fdd70ec46 | |
parent | fd6ecdd39bd83ea020f78b425e96310380d66c35 [diff] |
TimedEventQueue: improve wakelock management Do not acquire a wakelock unless the event is delayed by more than a given time. This prevents from acquiring/releasing wakelocks too often which has adverse effects on performance. Bug: 11509471. Change-Id: Id06803b393b40c4db5095a6e7ec02339fa581a38