Skip to content
Commit cefd74bb authored by Dorin Drimus's avatar Dorin Drimus Committed by Cherrypicker Worker
Browse files

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 4469c2a0)
Merged-In: Ifd2bd3cb2b2252c08055c95375fe499e3f23ce02
parent d5d35fb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment