commit | 3bf504df9fc1971078fdde7eed418a0dd8f601e2 | [log] [tgz] |
---|---|---|
author | Irfan Sheriff <isheriff@google.com> | Tue Mar 23 12:24:33 2010 -0700 |
committer | Irfan Sheriff <isheriff@google.com> | Wed Mar 24 17:59:42 2010 -0700 |
tree | 8b80810bd70ed9346b43a012e9e357b20b038e2f | |
parent | 69c997a5c603c3cc56cbfdacd72cbe9993c5f053 [diff] |
Fix WakeLock issue for driver stop Due to message removal, wakelock could be held forever. Do a timer only based wakelock release until we do this more cleanly in ConnectivityService for later release. Also, add an optimization to prevent use of wakelocks when driver is already stopped. Bug: 2529883 Change-Id: Ia1c2ddd44213ef3aa609855613bf155945bef8e4