Merge "Remove unreachable condition" am: f140201ff1 am: a49a1bf9bd

am: 7c67371466

Change-Id: I79f1c1457244c708d06124453a111d33a0460029
gugelfrei
Yi Kong 6 years ago committed by android-build-merger
commit c9685f39f8

@ -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);

Loading…
Cancel
Save