diff options
author | Hugo Benichi <hugobenichi@google.com> | 2016-12-20 17:05:06 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2017-01-16 11:15:04 +0900 |
commit | 4e1619f034b256984ea85b4d89aa2e16ac6f795c (patch) | |
tree | 0f4200b248d566bcfb192fdc95043c0e8b9f9c49 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | dfe8f5dc13f39b87ac6107c1a3b24db9b601597b (diff) |
ConnectivityServiceTest: some fixes in CallbackInfo
- CallbackInfo becomes a static class so that it can be instantiated
and looked at more easily than before.
- CallbackInfo gains hashCode() because it has equals().
- effectively final field are qualified final
- fixes bug when polling the next callback: poll() on a LinkedBlockingQueue
returns null when timing out, which was not failing the test cleanly.
Test: ConnectivityServiceTest passes
Bug: 32561414
Change-Id: I64d382a35fe83f21bded98e6906c1ec70a8f1085
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions