Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b3d3f629 authored by Jan Sebechlebsky's avatar Jan Sebechlebsky
Browse files

Fix undefined port id value in

AudioPolicyManagerTestMMapPlaybackRerouting

Although this is an output parameter, AudioPolicyManager::getOutputForAttr
verifies that initial value is AUDIO_PORT_HANDLE_NONE.
Because the field was not explicitly initialized in the test,
it contains undefined data and might cause tests to fail randomly.

Bug: 290129288
Test: atest audiopolicymanager_tests
Change-Id: I8662816c45d179305dcc27041dbb6b1d9afcc5e1
parent 27007e85
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