Merge "Remove unreachable condition"

am: f140201ff1

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

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