summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2016-07-06 22:53:17 +0900
committerLorenzo Colitti <lorenzo@google.com>2017-01-26 18:51:43 +0900
commit9c58a11f98ec94895dba8c13d0c2523b400cb5fe (patch)
treeb5d98f1cc103536ece7fbb6b1824f27edf6e6ef0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent092feb5b1c64eec8e62b26fadc0f6fccb33c66a8 (diff)
ConnectivityManager: a simpler CallbackHandler
This patch simplifies CallbackHandler in the following way: - CallbackHandler directly uses the static references to sNetworkCallback and sCallbackRefCount. This allows to remove instance fields in CallbackHandler. - CallbackHandler does not have a reference to ConnectivityManager anymore - CallbackHandler.getObject() is now generic in a type-safe way. Test: ConnectivityServiceTest passes Bug: 28537383 Bug: 32130437 (cherry picked from commit d42650faaa33ec6274278c65a6042228555ddd4f) Change-Id: I1b5fe2a361b5f623a8310ae698497c83d72f3034
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions