mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 832925 - Use DeactivateDataCallByType to close SUPL connection. r=dougt
This commit is contained in:
parent
6f00bd9662
commit
6d3cb69b1c
@ -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
|
||||
|
@ -99,7 +99,6 @@ private:
|
||||
nsCOMPtr<nsIGeolocationUpdate> mLocationCallback;
|
||||
nsCOMPtr<nsIThread> mInitThread;
|
||||
nsCOMPtr<nsIRadioInterfaceLayer> mRIL;
|
||||
nsAutoString mCid;
|
||||
};
|
||||
|
||||
#endif /* GonkGPSGeolocationProvider_h */
|
||||
|
Loading…
Reference in New Issue
Block a user