Files
frameworks_base/core/java/android/net
Etan Cohen 9b09a16930 [CS] Unregister callback as part of onUnavailable dispatch
The onUnavailable semantics promise that it is equivalent to calling
the unregister callback method. But - it doesn't unregister the callback
allowing it to be reused. Fixed.

Additionally, modified the unregisterNetworkCallback method to not fail
on duplicate unregistration (since a callback could now self
unregister). Instead simply print a log.

Bug: 130651445
Test: atest ConnectivityServiceTest
Change-Id: I4c54b003a733eb0b1e4fd8674ed13081b1bef8e3
2019-05-09 02:41:40 +00:00
..
2019-03-01 15:07:06 +00:00
2019-03-22 11:43:11 +00:00
2019-03-16 03:51:09 +09:00
2019-03-21 13:55:37 +08:00
2019-03-06 15:06:21 +08:00