Add Override for onDscpPolicyStatusUpdated
Add override to allow for DscpPolicyTest to use updated NetworkAgent callbacks. Bug: 202871011 Change-Id: I2082f6553e56ff941a309e031184d6e0dfb88514
This commit is contained in:
parent
11e656cbf8
commit
580cabf981
1 changed files with 2 additions and 2 deletions
|
|
@ -164,7 +164,7 @@ public open class TestableNetworkAgent(
|
|||
history.add(OnNetworkDestroyed)
|
||||
}
|
||||
|
||||
fun onDscpPolicyStatusUpdated(policyId: Int, status: Int) {
|
||||
override fun onDscpPolicyStatusUpdated(policyId: Int, status: Int) {
|
||||
history.add(OnDscpPolicyStatusUpdated(policyId, status))
|
||||
}
|
||||
|
||||
|
|
@ -203,4 +203,4 @@ public open class TestableNetworkAgent(
|
|||
"Handler didn't became idle after ${DEFAULT_TIMEOUT_MS}ms")
|
||||
assertNull(history.peek())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue