Skip to content
Commit b3beae79 authored by Eric Laurent's avatar Eric Laurent
Browse files

audio: additional speakerphone and audio mode fixes

- Do not re-evaluate speakerphone state when audio mode owner
changes but the new mode is RINGTONE.
- Do not log IN_COMMUNICATION mode timeout in case of playback or
capture inactivity by mode owner if the owner has
MODIFY_PHONE_STATE permission: in this case it is the telephony framework
or the app in Dialer role managing the call on behalf of another app.

Bug: 161564483
Test: manual regression test with cell and VoIP calls.
Change-Id: I86b6d31a164461e143cc5cfc1369884ed14cc95a
(cherry picked from commit 1536fc19)
parent 61ac80b3
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