commit | 126eca96fafc7aafe08a3836b46818dfe6bf7807 | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Tue Mar 30 16:54:45 2021 +0800 |
committer | Lucas Lin <lucaslin@google.com> | Wed May 05 05:11:49 2021 +0000 |
tree | 90cc2af526444be1f1732cc38c97ce70753862ba | |
parent | 8cc30c0ad122dbd2e72d640c7d530bd4a3032338 [diff] |
Add transport type in capabilities filter of EthernetNetworkFacotry Bug: 167544279 Test: atest EthernetServiceTests Change-Id: Ie64e3cff0ace413f14682736de7a1b65fa93e705 Merged-In: Ie64e3cff0ace413f14682736de7a1b65fa93e705 (Cherry-picked from ag/14031548)
diff --git a/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java b/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java index 75e77b9..f9e8b00 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 @@ private void updateCapabilityFilter() { NetworkCapabilities capabilitiesFilter = new NetworkCapabilities.Builder() .clearAll() + .addTransportType(NetworkCapabilities.TRANSPORT_ETHERNET) .build(); for (NetworkInterfaceState iface: mTrackingInterfaces.values()) {