diff options
author | Mike Lockwood <lockwood@android.com> | 2009-05-07 10:12:54 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-05-07 11:02:22 -0400 |
commit | 0528b9b26a9d64ba43acd0e334638303d514b8eb (patch) | |
tree | 52b5ce3b9887e8b6e5ca7800b3fe41a42144a9f8 /location/java/android | |
parent | 90da134befec804852775be7fd4905a1a188ff00 (diff) | |
download | frameworks_base-0528b9b26a9d64ba43acd0e334638303d514b8eb.zip frameworks_base-0528b9b26a9d64ba43acd0e334638303d514b8eb.tar.gz frameworks_base-0528b9b26a9d64ba43acd0e334638303d514b8eb.tar.bz2 |
location: Location Manager wakelock cleanup
Location Providers are now responsible for their own wakelocks and scheduling.
Also fixed a deadlock in LocationManagerService in the code for releasing
wakelocks after client notifications have been received.
The fix is to use the Receiver object and mWakeLock for synchronization
instead of the global mLock lock.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'location/java/android')
-rw-r--r-- | location/java/android/location/ILocationProvider.aidl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/location/java/android/location/ILocationProvider.aidl b/location/java/android/location/ILocationProvider.aidl index e3e374d..6c23f83 100644 --- a/location/java/android/location/ILocationProvider.aidl +++ b/location/java/android/location/ILocationProvider.aidl @@ -44,6 +44,4 @@ interface ILocationProvider { boolean sendExtraCommand(String command, inout Bundle extras); void addListener(int uid); void removeListener(int uid); - void wakeLockAcquired(); - void wakeLockReleased(); } |