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

Commit 7062bb96 authored by Yorke Lee's avatar Yorke Lee
Browse files

Set correct InCall tone lengths

TONE_CALL_ENDED should be 200ms instead of 4000ms.
This reduces the time needed for music to resume playing after a call
ends to 200ms.

Also update a typo in TONE_REORDER (5000 -> 4000)

Bug: 17954404
Change-Id: I2afb5e180bdcb10c6a1a4dcffcc650fcaad63b17
parent 88336c2e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ public final class InCallTonePlayer extends Thread {
                case TONE_CALL_ENDED:
                    toneType = ToneGenerator.TONE_PROP_PROMPT;
                    toneVolume = RELATIVE_VOLUME_HIPRI;
                    toneLengthMillis = 4000;
                    toneLengthMillis = 200;
                    break;
                case TONE_OTA_CALL_ENDED:
                    // TODO: fill in
@@ -159,7 +159,7 @@ public final class InCallTonePlayer extends Thread {
                case TONE_REORDER:
                    toneType = ToneGenerator.TONE_CDMA_REORDER;
                    toneVolume = RELATIVE_VOLUME_HIPRI;
                    toneLengthMillis = 5000;
                    toneLengthMillis = 4000;
                    break;
                case TONE_RING_BACK:
                    toneType = ToneGenerator.TONE_SUP_RINGTONE;