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

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

Merge "Remove unreachable condition" am: f140201f

am: a49a1bf9

Change-Id: I305a2c6cd22966c0c2918596aa5fd9c585101345
parents db959740 a49a1bf9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1029,7 +1029,7 @@ bool ToneGenerator::startTone(tone_type toneType, int durationMs) {
    bool lResult = false;
    bool lResult = false;
    status_t lStatus;
    status_t lStatus;


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


    toneType = getToneForRegion(toneType);
    toneType = getToneForRegion(toneType);