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

Commit b1744367 authored by Devin Kim's avatar Devin Kim Committed by Android Git Automerger
Browse files

am e365ed0c: mm-audio: Change delay value when setting device in call mode

* commit 'e365ed0c':
  mm-audio: Change delay value when setting device in call mode
parents 09f112b2 e365ed0c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ void AudioPolicyManager::setPhoneState(int state) {
    // voice call has enough delay to make sure the ringtone audio completely
    // played out
    if (state == AudioSystem::MODE_IN_CALL && oldState == AudioSystem::MODE_RINGTONE) {
        delayMs = 0;
        delayMs = 40;
    }

    // change routing is necessary