summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2020-03-03 15:53:56 +0800
committerjunyulai <junyulai@google.com>2020-03-04 16:01:21 +0800
commit51905ad64a8bca44729c07f761527daf4e5dceab (patch)
treecc64767cc358207347c6dea94fadaad44504d3c1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7322edad465c536a04e07c0c6fabcfc1f173d5ad (diff)
Remove setHandler in NetworkStatsService
Currently, internal handler is set by setHandler after constructing NSS object. This was introduced in ag/866187 to access the handler in the unit test. However, the design put NSS in a bad situation where all classes that need handler or executor could not be final and need to be dynamically allocated in order to get a valid handler. Thus, since the usage of handler is removed in previous patch, this change eliminate setHandler by initializing the handler in the constructor. Test: atest FrameworksNetTests Bug: 150664039 Change-Id: I794a24d00b0ca9fdc78091e7b9ab7307e0f034b7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions