diff options
| author | Mike Lockwood <lockwood@android.com> | 2009-10-08 15:45:03 -0400 |
|---|---|---|
| committer | Mike Lockwood <lockwood@android.com> | 2009-10-08 17:24:21 -0400 |
| commit | 03d246779ea65fc2bd10d0b4f32620f45211133a (patch) | |
| tree | c0bba5558070d24e11c324af60f716f580229703 /location/java/android | |
| parent | 9d5b58991ef90e91b3c942c80ae3502ed62d10aa (diff) | |
| download | frameworks_base-03d246779ea65fc2bd10d0b4f32620f45211133a.zip frameworks_base-03d246779ea65fc2bd10d0b4f32620f45211133a.tar.gz frameworks_base-03d246779ea65fc2bd10d0b4f32620f45211133a.tar.bz2 | |
GPS: Fix problem with SUPL when SUPL APN is already active.
Use ConnectivityManager.CONNECTIVITY_ACTION broadcast in LocationManagerService
to notify GPS when SUPL connection is ready instead of TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED,
which is not sent in all cases.
Expand LocationProvider.updateNetworkState() to include NetworkInfo object.
Fixes bug b/2155661
Change-Id: Iee227ace7d536b36cf7973e3e6a8b7a621ce6565
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'location/java/android')
| -rw-r--r-- | location/java/android/location/ILocationProvider.aidl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/location/java/android/location/ILocationProvider.aidl b/location/java/android/location/ILocationProvider.aidl index 4fe0494..7da16e4 100644 --- a/location/java/android/location/ILocationProvider.aidl +++ b/location/java/android/location/ILocationProvider.aidl @@ -17,6 +17,7 @@ package android.location; import android.location.Location; +import android.net.NetworkInfo; import android.os.Bundle; /** @@ -41,7 +42,7 @@ interface ILocationProvider { long getStatusUpdateTime(); void enableLocationTracking(boolean enable); void setMinTime(long minTime); - void updateNetworkState(int state); + void updateNetworkState(int state, in NetworkInfo info); void updateLocation(in Location location); boolean sendExtraCommand(String command, inout Bundle extras); void addListener(int uid); |
