summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjiabin <jiabin@google.com>2018-05-22 15:44:21 -0700
committerjiabin <jiabin@google.com>2018-05-22 17:56:09 -0700
commit8c3a767b2dea8cc8fa75f39c600252e3cd1f76e9 (patch)
tree1b6f20f4198c7e785157f2d53b9e34933f0d2c81 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8dd9ef190bf580fae6aa8e850f60985458b70c21 (diff)
Avoid race condition when broadcasting device list changed.
Since broadcastDeviceListChanged could be called in different threads, there would be race condition causing mutilple callback due to mPreviousPorts is not thread safe. Bug: 80138804 Test: run TestDeviceList app in toolbox and cts Change-Id: I0aa70dc45594bca263ea6f36703f22fe0293f679
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions