diff options
author | Hugo Benichi <hugobenichi@google.com> | 2016-07-06 22:53:17 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2016-10-20 09:09:02 +0900 |
commit | d42650faaa33ec6274278c65a6042228555ddd4f (patch) | |
tree | b59b1c3a8dc1a269c3b3a0b3d777389fba995e8a /tools/aapt2/diff/Diff.cpp | |
parent | daeeda35d951e9b6925a98cd0d909a59a94bd59f (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/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions