summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/12/changes
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-08-25 13:07:01 -0700
committerJeff Brown <jeffbrown@google.com>2012-08-25 13:40:28 -0700
commit028872fe07f9b3468aa1506c658d6aae25f53015 (patch)
tree40069ed51bf79a0daabd60b3b78c93e7d2632cbd /docs/html/sdk/api_diff/12/changes
parenta2910d0abbbe18ba1710dfd4a31af45769632255 (diff)
Fix GpsLocationProvider wake lock book keeping.
The GpsLocationProvider typically acquires a wake lock before sending a message to its handler then releases it after the message has been handled. There were two cases where messages might be removed from the handler, resulting in the wake lock being released. There were also two cases where background tasks were being started while not holding a wake lock for the duration. Fixed these issues and marked the GpsLocationProvider handler as asynchronous too so that it doesn't accidentally get blocked by traversals if it happens to share a thread with some UI. Bug: 7057752 Change-Id: I8e12fc91ae943e84db068c08ec809879537503c6
Diffstat (limited to 'docs/html/sdk/api_diff/12/changes')
0 files changed, 0 insertions, 0 deletions