From 2ab727afe0d6e59d696d1e7c5aeb75594c741d8a Mon Sep 17 00:00:00 2001 From: Arian Date: Thu, 14 Mar 2024 14:38:35 +0100 Subject: [PATCH] sm8450-common: udfps: Change verbose logging to DEBUG Change-Id: Ic3c4401e61b54445f9acc0d1e53c75c21b6a6ee6 --- udfps/UdfpsHandler.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/udfps/UdfpsHandler.cpp b/udfps/UdfpsHandler.cpp index 739fc07..375bda0 100644 --- a/udfps/UdfpsHandler.cpp +++ b/udfps/UdfpsHandler.cpp @@ -202,7 +202,7 @@ class XiaomiSm8450UdfpsHander : public UdfpsHandler { } void onFingerDown(uint32_t x, uint32_t y, float /*minor*/, float /*major*/) { - LOG(INFO) << __func__ << "x: " << x << ", y: " << y; + LOG(DEBUG) << __func__ << "x: " << x << ", y: " << y; // Track x and y coordinates lastPressX = x; lastPressY = y; @@ -212,13 +212,13 @@ class XiaomiSm8450UdfpsHander : public UdfpsHandler { } void onFingerUp() { - LOG(INFO) << __func__; + LOG(DEBUG) << __func__; // Ensure touchscreen is aware of the press state, ideally this is not needed setFingerDown(false); } void onAcquired(int32_t result, int32_t vendorCode) { - LOG(INFO) << __func__ << " result: " << result << " vendorCode: " << vendorCode; + LOG(DEBUG) << __func__ << " result: " << result << " vendorCode: " << vendorCode; if (result == FINGERPRINT_ACQUIRED_GOOD) { // Set finger as up to disable HBM already, even if the finger is still pressed setFingerDown(false); @@ -239,24 +239,24 @@ class XiaomiSm8450UdfpsHander : public UdfpsHandler { } void cancel() { - LOG(INFO) << __func__; + LOG(DEBUG) << __func__; enrolling = false; setFodStatus(FOD_STATUS_OFF); } void preEnroll() { - LOG(INFO) << __func__; + LOG(DEBUG) << __func__; enrolling = true; } void enroll() { - LOG(INFO) << __func__; + LOG(DEBUG) << __func__; enrolling = true; } void postEnroll() { - LOG(INFO) << __func__; + LOG(DEBUG) << __func__; enrolling = false; setFodStatus(FOD_STATUS_OFF);