commit | 98e48691f738680fe59e7383a41458e7337daccd | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Wed Apr 07 16:32:51 2010 -0400 |
committer | Mike Lockwood <lockwood@android.com> | Wed Apr 14 15:18:09 2010 -0400 |
tree | b7a719ec6293760f78f2d6f54a5229975493fa5e | |
parent | 8f5a800116f700b0af21d2a8468165bcf51b841c [diff] |
GpsLocationProvider: optimize wake lock usage. Rather than holding a wake lock the entire time the GPS is active, we now hold it only when messages are pending for GpsLocationProvider's Handler and rely on the lower level implementation holding a wake lock when calling into the provider. Signed-off-by: Mike Lockwood <lockwood@android.com>