diff options
| author | lucaslin <lucaslin@google.com> | 2021-03-30 16:54:45 +0800 |
|---|---|---|
| committer | Lucas Lin <lucaslin@google.com> | 2021-05-05 05:11:49 +0000 |
| commit | fe134fbd9cd448c452aa28194eb5dcb9ce83d135 (patch) | |
| tree | 90cc2af526444be1f1732cc38c97ce70753862ba /service-t/src | |
| parent | 58e0c49c2ecf0707f67b6db71471e91ee86a3d11 (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)
Diffstat (limited to 'service-t/src')
| -rw-r--r-- | service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java | 1 |
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()) { |
