summaryrefslogtreecommitdiff
path: root/service-t/src
diff options
context:
space:
mode:
Diffstat (limited to 'service-t/src')
-rw-r--r--service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java b/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java
index 75e77b9596..f9e8b00562 100644
--- a/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java
+++ b/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java
@@ -169,6 +169,7 @@ public class EthernetNetworkFactory extends NetworkFactory {
private void updateCapabilityFilter() {
NetworkCapabilities capabilitiesFilter = new NetworkCapabilities.Builder()
.clearAll()
+ .addTransportType(NetworkCapabilities.TRANSPORT_ETHERNET)
.build();
for (NetworkInterfaceState iface: mTrackingInterfaces.values()) {