diff options
| author | Mike Lockwood <lockwood@android.com> | 2010-09-22 12:13:39 -0400 |
|---|---|---|
| committer | Mike Lockwood <lockwood@android.com> | 2010-09-22 12:22:26 -0400 |
| commit | 2acfd34ccbd39258422333c9c66c586297c97683 (patch) | |
| tree | bc763f83b431bdb69f7fb068fbced751cb661664 /libs/rs/rsg_ScriptJavaClass.cpp | |
| parent | dd62a056b8d746c620218a68bb476382f02d8174 (diff) | |
GpsLocationProvider: Fix race condition while bringing up APN for SUPL.
If handleUpdateNetworkState() is called before
ConnectivityManager.startUsingNetworkFeature() returns, then we will not
call native_agps_data_conn_open() to inform the GPS that the APN is up.
So we now set mAGpsDataConnectionState to AGPS_DATA_CONNECTION_OPENING
before calling ConnectivityManager.startUsingNetworkFeature() to avoid
this problem.
Change-Id: I5e1597d6494dc8ab68e608911c546a7a04f2ea07
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions
