Fix offdevice full debug build crash
Change-Id: I7640863738d1548f7d9cf4b95c4a0d896eb667d7main
parent
b686df15fc
commit
246d227c5d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue