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

Skip to content
Commit d6a604e0 authored by Qiang Chen's avatar Qiang Chen Committed by Huang, Yidong
Browse files

libaudiohal: do not erase port configs if resetting fails

If the resetAudioPortConfig() returns failure, do not erase its
port configs in AIDL. Otherwise, the config of the framework and
HAL will not match, and the audio patch will never be reset properly.

Bug: 348099828
Test: repro steps from the bug
Change-Id: I69ba25bc84baff1d1f2d11533ab8bbe2c7bb0889
parent 37e9203e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment