commit | d6a604e0b816130bb12afb4917454d0e9b773e59 | [log] [tgz] |
---|---|---|
author | Qiang Chen <quic_qianch@quicinc.com> | Wed Jun 12 15:26:46 2024 +0800 |
committer | Huang, Yidong <quic_yidongh@quicinc.com> | Fri Jun 21 10:00:21 2024 +0800 |
tree | dffa6d5feb004840d0ba898e4c209e3b3cec2087 | |
parent | 37e9203e33d912809fb27adb6d5a7f9a91823994 [diff] |
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