summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.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-26 18:51:46 +0900
commit1e19aefa6f9e2368f34745bc0eb38dc2618e4f06 (patch)
tree4e114c82a718c1cc56e82d7f7a0367e679de7058 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9c58a11f98ec94895dba8c13d0c2523b400cb5fe (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 (cherry picked from commit 7724cdd8b90006c852644d06cf6c8a28450c71c6) Change-Id: If956addbf8e7b11b36a4b966de7fca00e8f362c1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions