Merge "Don't send onLinkPropertiesChanged after onLost for 464xlat."

This commit is contained in:
Lorenzo Colitti
2021-06-09 07:59:25 +00:00
committed by Gerrit Code Review
3 changed files with 6 additions and 12 deletions

View File

@@ -398,10 +398,10 @@ public class UpstreamNetworkMonitor {
// notifications (e.g. matching more than one of our callbacks).
//
// Also, it can happen that onLinkPropertiesChanged is called after
// onLost removed the state from mNetworkMap. This appears to be due
// to a bug in disconnectAndDestroyNetwork, which calls
// nai.clatd.update() after the onLost callbacks.
// TODO: fix the bug and make this method void.
// onLost removed the state from mNetworkMap. This is due to a bug
// in disconnectAndDestroyNetwork, which calls nai.clatd.update()
// after the onLost callbacks. This was fixed in S.
// TODO: make this method void when R is no longer supported.
return null;
}