Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e1f68df authored by Philip Quinn's avatar Philip Quinn Committed by Android (Google) Code Review
Browse files

Merge "Fix -Wshadow error when DEBUG_POINTER_ASSIGNMENT is set."

parents c33c441b 35c872ff
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3842,9 +3842,9 @@ void TouchInputMapper::assignPointerIds(const RawState* last, RawState* current)

#if DEBUG_POINTER_ASSIGNMENT
                ALOGD("assignPointerIds - reduced distance min-heap: size=%d", heapSize);
                for (size_t i = 0; i < heapSize; i++) {
                    ALOGD("  heap[%zu]: cur=%" PRIu32 ", last=%" PRIu32 ", distance=%" PRIu64, i,
                          heap[i].currentPointerIndex, heap[i].lastPointerIndex, heap[i].distance);
                for (size_t j = 0; j < heapSize; j++) {
                    ALOGD("  heap[%zu]: cur=%" PRIu32 ", last=%" PRIu32 ", distance=%" PRIu64, j,
                          heap[j].currentPointerIndex, heap[j].lastPointerIndex, heap[j].distance);
                }
#endif
            }