MuhamedRefaat / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

Some code is not proper. #492

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
in NgnNetworkService.java

From 
kvp = it.next();
final InetAddress address = kvp.getValue();

if (kvp.getKey().equal(USB_INTERFACE_NAME))
{
    continue;
}
    return address.getHostAddress();

to : 

kvp = it.next();
final InetAddress address = kvp.getValue();

if (!kvp.getKey().contains(USB_INTERFACE_NAME))
{
    continue;
}
    return address.getHostAddress();

some device is not working, so must change it.

Original issue reported on code.google.com by infoh...@gmail.com on 15 Nov 2013 at 6:30