summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.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-18 19:08:18 +0900
commit791ee32a6290440f3ade2cb9027e384ca864d7bb (patch)
treec274653b6dc1901050bb6b6772bdf99ac3bb3c1f /tools/aapt2/diff/Diff.cpp
parent81deef84fb8bd0365ca72b0fef45369c16efe011 (diff)
DO NOT MERGE: 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) (cherry picked from commit 4983e55853db9f9d1cc5720970c439b976480c52) Change-Id: I4d0b2441b6af76bc56b19218210a2a381532a3c4
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions