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
committerHugo Benichi <hugobenichi@google.com>2016-10-20 09:09:02 +0900
commitd42650faaa33ec6274278c65a6042228555ddd4f (patch)
treeb59b1c3a8dc1a269c3b3a0b3d777389fba995e8a /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdaeeda35d951e9b6925a98cd0d909a59a94bd59f (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 Change-Id: I5004da5b91498e6ff7f8b05057a9e24b975bb56e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions