summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2020-04-29 18:25:32 +0800
committerJunyu Lai <junyulai@google.com>2020-04-30 05:57:44 +0000
commitef1202feea66e70d59286c0e42b4fa37bf4f713b (patch)
tree8575c20d94df4abe06a48d8e87cc75a9d4798ca6 /tools/aapt2/java/JavaClassGenerator.cpp
parentc861b10841cbc6610e541a581abb4f80567a467b (diff)
Use CopyOnWriteArrayList to store list of NetworkStatsProviderCb
In NetworkStatsService, mStatsLock will be held when iterating through the provider list. This is to protect the list from concurrent broadcast that triggered by NetworkPolicyManagerService. This is not good since the binder call is oneway, it does not make sense to block every access to the providers. This change also remove unuse variable and reduce verbose log. Test: atest FrameworksNetTests TetheringTests Bug: 150418178 Change-Id: If74e9f2ea597a0d5ae4668c3358bc687f342bbb5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions