summaryrefslogtreecommitdiffstats
path: root/core/tests/ConnectivityManagerTest/src
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2011-02-09 13:56:06 -0800
committerRobert Greenwalt <rgreenwalt@google.com>2011-02-11 11:06:23 -0800
commit992564e481af13cbcb058ee801f9254a520c54a1 (patch)
tree9613622a5b5d7763a6f14c685533813f9a31c476 /core/tests/ConnectivityManagerTest/src
parent2157f045d3579cb789d7c2c4f892724c7b0b1b39 (diff)
downloadframeworks_base-992564e481af13cbcb058ee801f9254a520c54a1.zip
frameworks_base-992564e481af13cbcb058ee801f9254a520c54a1.tar.gz
frameworks_base-992564e481af13cbcb058ee801f9254a520c54a1.tar.bz2
Update LinkProperties treatment of gateways
A link can have multiple gateways (think ipv4/ipv6 for a trivial example). . bug:3438810 Change-Id: I28c90a6947cd50b82e5ca9a0113148f98b3f4dd8
Diffstat (limited to 'core/tests/ConnectivityManagerTest/src')
-rw-r--r--core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java
index 21f1bfc..1ecf103 100644
--- a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java
+++ b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/AccessPointParserHelper.java
@@ -303,7 +303,7 @@ public class AccessPointParserHelper {
if (!InetAddress.isNumeric(gwAddr)) {
throw new SAXException();
}
- mLinkProperties.setGateway(InetAddress.getByName(gwAddr));
+ mLinkProperties.addGateway(InetAddress.getByName(gwAddr));
} catch (UnknownHostException e) {
throw new SAXException();
}