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

Commit c9685f39 authored by Yi Kong's avatar Yi Kong Committed by android-build-merger
Browse files

Merge "Remove unreachable condition" am: f140201f am: a49a1bf9

am: 7c673714

Change-Id: I79f1c1457244c708d06124453a111d33a0460029
parents 18c5a769 7c673714
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1030,7 +1030,7 @@ bool ToneGenerator::startTone(tone_type toneType, int durationMs) {
    bool lResult = false;
    status_t lStatus;

    if ((toneType < 0) || (toneType >= NUM_TONES))
    if (toneType >= NUM_TONES)
        return lResult;

    toneType = getToneForRegion(toneType);