Bug 832925 - Use DeactivateDataCallByType to close SUPL connection. r=dougt

This commit is contained in:
Patrick Wang 2013-01-21 19:30:54 +08:00
parent 6f00bd9662
commit 6d3cb69b1c
2 changed files with 1 additions and 6 deletions

View File

@ -390,11 +390,7 @@ GonkGPSGeolocationProvider::ReleaseDataConnection()
return;
}
if (mCid.IsEmpty()) {
// We didn't request data call or the data call failed, bail out.
return;
}
mRIL->DeactivateDataCall(mCid, NS_LITERAL_STRING("Close SUPL session"));
mRIL->DeactivateDataCallByType(NS_LITERAL_STRING("supl"));
}
void

View File

@ -99,7 +99,6 @@ private:
nsCOMPtr<nsIGeolocationUpdate> mLocationCallback;
nsCOMPtr<nsIThread> mInitThread;
nsCOMPtr<nsIRadioInterfaceLayer> mRIL;
nsAutoString mCid;
};
#endif /* GonkGPSGeolocationProvider_h */