Restoring Network Available Notification to AGnssRil
Bug: 33350903 Change-Id: I8fe0ddbd011689258890ce37e37271cc6f170c6a Fixes: 33350903 Test: On device GPS-still-works check (Ril check to be done by partners)
This commit is contained in:
@@ -457,6 +457,7 @@ public class GnssLocationProvider implements LocationProviderInterface {
|
||||
if (mDownloadXtraDataPending == STATE_PENDING_NETWORK) {
|
||||
xtraDownloadRequest();
|
||||
}
|
||||
sendMessage(UPDATE_NETWORK_STATE, 0 /*arg*/, network);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -467,11 +468,6 @@ public class GnssLocationProvider implements LocationProviderInterface {
|
||||
*/
|
||||
private final ConnectivityManager.NetworkCallback mSuplConnectivityCallback =
|
||||
new ConnectivityManager.NetworkCallback() {
|
||||
@Override
|
||||
public void onAvailable(Network network) {
|
||||
sendMessage(UPDATE_NETWORK_STATE, 0 /*arg*/, network);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLost(Network network) {
|
||||
releaseSuplConnection(GPS_RELEASE_AGPS_DATA_CONN);
|
||||
|
||||
Reference in New Issue
Block a user