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
committerHugo Benichi <hugobenichi@google.com>2016-10-21 08:54:34 +0900
commit7724cdd8b90006c852644d06cf6c8a28450c71c6 (patch)
treedd1db5de0fa94a498e41d99e892f4bca4c39e1f5 /tools/aapt2/diff/Diff.cpp
parentc4fe5d373caa9f53686e4d58e61394dd40558957 (diff)
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 Change-Id: I431afcee7c7155bd7bac23a2e1e97fd5d6520c74
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions