audiopolicy: clean delayMs to 0 before reevaluate all outputs routing when call state changes
since the delayMs is for updateCallRouting(),
we need to clean delayMs to 0 before reevaluate
all outputs routing when call state changes.
Otherwise, setPhoneState will cost too much time
which will block UI making phone call.
Test: self-test making phone call and check for delay time
Bug: 79187322
Test: delayed time is reduced.
Change-Id: I3f71af700efb958c0716b4bf28aa436d85c5af66
Signed-off-by: Yung Ti Su <andysu@google.com>
Loading
Please register or sign in to comment