audio: Change the lock mode
Since unfair lock allocation can lead to certain anomalies that significantly increase the probability of process crashes, it is necessary to modify the lock mode. Bug:409887529 Prerequisites: To simulate audio write data anomalies (since many Qualcomm algorithm libraries require loading during data writing), we introduced an artificial delay (sleep 1 second) in the HAL layer's write function. Steps: 1.Repeatedly initiate Voice calls. 2.Successfully trigger the timecheck mechanism multiple times. Signed-off-by:lijunhui <lijunhui@xiaomi.corp-partner.google.com> (cherry picked from https://android-review.googlesource.com/q/commit:ec00532b2b047d5a6405f4721c05f483f40fe8f2) Flag: EXEMPT bugfix Change-Id: I0f69d94ccc00ff7e4ef8b18378eb37a872920a4c
Loading
Please register or sign in to comment