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:
Tyler Wear 2022-01-21 11:32:35 -08:00
commit 580cabf981

View file

@ -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())
}
}
}