Merge "Merge remote branch 'korg/froyo' into gingerbread" into gingerbread
This commit is contained in:
@@ -143,8 +143,8 @@ public class ConnectivityManagerTest extends AndroidTestCase {
|
||||
|
||||
NetworkInfo[] ni = mCm.getAllNetworkInfo();
|
||||
for (NetworkInfo n : ni) {
|
||||
// make sure network is up
|
||||
if (n.isConnected()) {
|
||||
// make sure network is up (except WIFI due to always fail)
|
||||
if (n.isConnected() && (n.getType() != TYPE_WIFI)) {
|
||||
assertTrue(mCm.requestRouteToHost(n.getType(), HOST_ADDRESS));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user