summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2019-04-16 15:07:55 -0700
committerEtan Cohen <etancohen@google.com>2019-05-09 03:57:54 +0000
commit5acedecaee692742042c199cdb0e4a3b9c531d3a (patch)
treee7435ba1f1c03d271071def1dac7475bae58c58f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3fd1b4949b0237fde1e30223e079194de409fa0a (diff)
[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 Merged-In: I4c54b003a733eb0b1e4fd8674ed13081b1bef8e3 Change-Id: I4c54b003a733eb0b1e4fd8674ed13081b1bef8e3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions