summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2016-07-07 10:15:56 +0900
committerLorenzo Colitti <lorenzo@google.com>2017-01-18 19:08:21 +0900
commite804d3773cb4fed2c40d43edb38fc2f0c94b2a3c (patch)
tree8e2903a3d1779ec3909399f53aa8b6fdf6added5 /tools/aapt2/diff/Diff.cpp
parent791ee32a6290440f3ade2cb9027e384ca864d7bb (diff)
DO NOT MERGE: ConnectivityManager: use ConnectivityThread looper
This patch removes the static singleton looper used by ConnectivityManager and instead uses the common ConnectivityThread. This allows to removes the static atomic counter used to track the number of registered NetworkCallback in ConnectivityManager, because the looper is not turned off anymore when no callbacks are registered. Also an overloaded version of sendRequestForNetwork is added taking as a new parameter a Handler. This will allow to overload various callback and request related API calls with user provided Handlers. Test: ConnectivityServiceTest passes Bug: 26749700 Bug: 28537383 Bug: 32130437 (cherry picked from commit 7724cdd8b90006c852644d06cf6c8a28450c71c6) (cherry picked from commit 1853f78d768dc44efdc8576302b382ff81a0ffac) Change-Id: If5c1e46ca6c4a09ef526cbe09654c5f55ef8d6ce
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions