From 7a4fecc3de65ef2c7965450cc76f4459620b9f0c Mon Sep 17 00:00:00 2001 From: Ady Abraham Date: Thu, 12 Aug 2021 17:16:51 +0000 Subject: [PATCH] Revert "Set EthernetNetworkSpecifier on each ethernet network for multi-ethernet" This reverts commit b94c4e74539452158b0472f1a6b645115cf9dc18. Reason for revert: b/196387077 Change-Id: I8e27ce915b6069b642c614a018aa5e1788ae07af --- .../com/android/server/ethernet/EthernetNetworkFactory.java | 4 ---- 1 file changed, 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); }