+4
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When read fails HAL is returning bytes_read as zero, this is causing recordThread forever looping in threadLoop, leading ANR in cases like in-call record + SubSystemRestart. Make sure HAL returns 'size', AudioFlinger is reading data of. CRs-Fixed: 2021657 Change-Id: Ie4c07c6a888c1ec66ed032b0d2912633cf15368c