summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Dorin Drimus <dorindrimus@google.com> 2022-09-16 10:07:57 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2022-09-20 08:06:21 +0000
commitcefd74bb6efaa2ed3d14611a89d7ccb5a589970a (patch)
tree5c9c42d64fe8ee7213516b0f60e8a518a1029110 /services/coverage/java
parentd5d35fb282d5b8cefebeb2c51fc164faf5590e1c (diff)
Use local status for convert profile
When converting and filtering the list of audio profile from native to Java, if we reuse the global jStatus for the profiles loop, a wrong value for the last element can propagate as the global return value. Using a local status fixes the issue. Bug: 246759253 Change-Id: Ifd2bd3cb2b2252c08055c95375fe499e3f23ce02 Test:  atest DirectAudioProfilesForAttributesTest (cherry picked from commit 4469c2a06379c4c53f744add3091834047b20fe8) Merged-In: Ifd2bd3cb2b2252c08055c95375fe499e3f23ce02
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions