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 02:41:40 +0000
commit9b09a169302f3d49d77623726d5bc31c961da1c8 (patch)
treefcc4bdf2f1ad1729d2674ac77940296f5dbb1e06 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd22ba181d0b6d6e80dbdce815439f255c2db2e9c (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 Change-Id: I4c54b003a733eb0b1e4fd8674ed13081b1bef8e3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions