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

Commit b9f2ea86 authored by lijunhui's avatar lijunhui Committed by Mikhail Naganov
Browse files

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: default avatarlijunhui <lijunhui@xiaomi.corp-partner.google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:ec00532b2b047d5a6405f4721c05f483f40fe8f2)
Flag: EXEMPT bugfix
Change-Id: I0f69d94ccc00ff7e4ef8b18378eb37a872920a4c
parent ce7dfb8c
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