Bug 691054 - Back out bug 667980 (getNetworkLinkType) on Android because of scary permissions [r=dougt]
This commit is contained in:
@@ -80,8 +80,8 @@ NS_IMETHODIMP
|
||||
nsAndroidNetworkLinkService::GetLinkType(PRUint32 *aLinkType)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aLinkType);
|
||||
NS_ENSURE_TRUE(mozilla::AndroidBridge::Bridge(), NS_ERROR_UNEXPECTED);
|
||||
|
||||
*aLinkType = mozilla::AndroidBridge::Bridge()->GetNetworkLinkType();
|
||||
// XXX This function has not yet been implemented for this platform
|
||||
*aLinkType = nsINetworkLinkService::LINK_TYPE_UNKNOWN;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user