am 246d227c: Fix offdevice full debug build crash

* commit '246d227c5d19549cb00a8ee84e20d09ea00e14f4':
  Fix offdevice full debug build crash
main
Ken Wakasa 2012-09-18 10:10:26 -07:00 committed by Android Git Automerger
commit 3157edb752
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 = NearKeysDistanceMap::const_iterator itPP =
prevNearKeysDistances->find(minChar); 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 (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; return popped;
} }
} }