Merge "Add EthernetTestInterface to list of created interfaces"
This commit is contained in:
commit
79b38b491c
1 changed files with 4 additions and 1 deletions
|
|
@ -177,7 +177,10 @@ class EthernetManagerTest {
|
|||
}
|
||||
|
||||
private fun createInterface(): EthernetTestInterface {
|
||||
return EthernetTestInterface(context, Handler(Looper.getMainLooper()))
|
||||
return EthernetTestInterface(
|
||||
context,
|
||||
Handler(Looper.getMainLooper())
|
||||
).also { createdIfaces.add(it) }
|
||||
}
|
||||
|
||||
private fun setIncludeTestInterfaces(value: Boolean) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue