commit | 0571e1128e8146bd7932061f6c124d6f28d721d4 | [log] [tgz] |
---|---|---|
author | Sharvil Nanavati <sharvil@google.com> | Wed Aug 27 21:30:59 2014 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Mon Mar 16 16:51:32 2015 -0700 |
tree | ac73f8693669ad03efffd4d9a366f16f4f129cef | |
parent | 2c26d1dc79a0a245e65461a638b53efc7047065e [diff] |
Implement GKI timers in terms of alarm.c. This also fixes some alarm/wake lock bugs. The OS callout implementation expects only a single outstanding alarm and a single wake lock being taken. Since alarm.c uses both and GKI timers use both, they were occasionally clobbering each other resulting in unpredictable behaviour. By writing GKI timers in terms of alarm.c, this change addresses those bugs.