am 3157edb7: am 246d227c: Fix offdevice full debug build crash

* commit '3157edb7529d678eec52e1ec25ad4ac64bcf7c98':
  Fix offdevice full debug build crash
main
Ken Wakasa 2012-09-18 10:14:16 -07:00 committed by Android Git Automerger
commit 3ee595047d
1 changed files with 4 additions and 4 deletions

View File

@ -409,11 +409,11 @@ bool ProximityInfoState::pushTouchPoint(const int inputIndex, const int nodeChar
}
NearKeysDistanceMap::const_iterator itPP =
prevNearKeysDistances->find(minChar);
if (DEBUG_GEO_FULL) {
AKLOGI("p1: char = %c, minDist = %f, prevNear key minDist = %f",
minChar, itPP->second, minDist);
}
if (itPP != prevNearKeysDistances->end() && minDist > itPP->second) {
if (DEBUG_GEO_FULL) {
AKLOGI("p1: char = %c, minDist = %f, prevNear key minDist = %f",
minChar, itPP->second, minDist);
}
return popped;
}
}