summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjiabin <jiabin@google.com>2018-03-23 14:09:28 -0700
committerjiabin <jiabin@google.com>2018-03-23 14:09:28 -0700
commit8fd5d5e8e4546dacb83c55d0e3142f3e3c70c1ad (patch)
tree7d46851bd3a6eb42ff2aa6bfbc5ef0c1e937db41 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent32ca41d02880686148cfa730897c575104cf045c (diff)
Add lock when adjusting suggested stream volume.
When adjusting suggested stream volume, we may set the stream type according to mVolumeControlStream, which could be changed by other thread. To avoid getting stream type -1, which cause crash when checking stream type, add a lock request in adjustSuggestedStreamVolume. Bug: 71333271 Test: Manually test Change-Id: If98f50f4f2389818b7ac3b0f33bdc7e27f3ad3f8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions