Merge "Remove double check interface by NetworkInterface"

This commit is contained in:
Treehugger Robot
2020-09-28 04:21:28 +00:00
committed by Gerrit Code Review

View File

@@ -553,7 +553,6 @@ public class EthernetTetheringTest {
TestNetworkManager tnm = mContext.getSystemService(TestNetworkManager.class);
TestNetworkInterface iface = tnm.createTapInterface();
Log.d(TAG, "Created test interface " + iface.getInterfaceName());
assertNotNull(NetworkInterface.getByName(iface.getInterfaceName()));
return iface;
}