Merge "Remove unreachable condition" am: f140201ff1

am: a49a1bf9bd

Change-Id: I305a2c6cd22966c0c2918596aa5fd9c585101345
gugelfrei
Yi Kong 6 years ago committed by android-build-merger
commit 7c67371466

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

Loading…
Cancel
Save