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

Skip to content
Commit 02baf33f authored by Sharad Sangle's avatar Sharad Sangle Committed by Gerrit - the friendly Code Review server
Browse files

hal: In case of error in in_read don't return zero

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
parent 977321c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment