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

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

Merge "Remove unreachable condition"

am: f140201f

Change-Id: Ie7918fff22a37ea72ab59f5573790b2ed977aaee
parents 072aaa2e f140201f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1029,7 +1029,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);