summaryrefslogtreecommitdiff
path: root/service-t/src
diff options
context:
space:
mode:
authorAdy Abraham <adyabr@google.com>2021-08-12 17:16:51 +0000
committerAdy Abraham <adyabr@google.com>2021-08-12 17:16:51 +0000
commit7a4fecc3de65ef2c7965450cc76f4459620b9f0c (patch)
tree43175630c6f2230b261f348bcdf385f263b9faa1 /service-t/src
parentb94c4e74539452158b0472f1a6b645115cf9dc18 (diff)
Revert "Set EthernetNetworkSpecifier on each ethernet network for multi-ethernet"
This reverts commit b94c4e74539452158b0472f1a6b645115cf9dc18. Reason for revert: b/196387077 Change-Id: I8e27ce915b6069b642c614a018aa5e1788ae07af
Diffstat (limited to 'service-t/src')
-rw-r--r--service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java b/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java
index 2ddc14eb0c..aa80e4de2d 100644
--- a/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java
+++ b/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java
@@ -146,10 +146,6 @@ public class EthernetNetworkFactory extends NetworkFactory {
return;
}
- capabilities = new NetworkCapabilities.Builder(capabilities)
- .setNetworkSpecifier(new EthernetNetworkSpecifier(ifaceName))
- .build();
-
if (DBG) {
Log.d(TAG, "addInterface, iface: " + ifaceName + ", capabilities: " + capabilities);
}