summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2020-07-11 01:11:37 +0000
committerMikhail Naganov <mnaganov@google.com>2020-07-14 18:29:03 +0000
commit44f5d3f1125bf699afd23deb4e327ffae560f10a (patch)
tree0493c65e39facced5a8adac5afde78844138fec9 /tools/aapt2/java/JavaClassGenerator.cpp
parent7a7590dc9ba2d3a13e2feb446c75de007655a3b3 (diff)
Fix arguments capture in SoundEffectsHelper
The handler created for an async call must capture arguments of the Message by value instead of capturing the instance of Message by reference. Since Message objects are pooled for efficiency, a possibility exists that the instance of Message is reused later. Bug: 160315111 Bug: 160965418 Test: atest android.media.cts.AudioManagerTest Change-Id: I2c81b8fa9ae6653da2e6812668395d8fcd6bc6e9 Merged-In: I2c81b8fa9ae6653da2e6812668395d8fcd6bc6e9 (cherry picked from commit f8819552bbc46fd73bc0605ce1fb1b120bac2fa0)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions