diff options
author | Hugo Benichi <hugobenichi@google.com> | 2016-12-20 17:05:06 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2017-01-20 16:56:41 +0900 |
commit | 3838737df9d18ee097fd7cc4469b4a92d2e49b16 (patch) | |
tree | 48e4a9725df56bd141074960f58cf667285c7bfc /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | 0e39a438bfa5c279d361cf59e745df1d326c57ba (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
(cherry picked from commit 4e1619f034b256984ea85b4d89aa2e16ac6f795c)
Change-Id: Ica5f1609975e4b256f4e2f3dc2ac84362e762da2
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions