sm8450-common: udfps: Change verbose logging to DEBUG

Change-Id: Ic3c4401e61b54445f9acc0d1e53c75c21b6a6ee6
此提交包含在:
Arian
2024-03-14 14:38:35 +01:00
父節點 1c5b35a3c1
當前提交 2ab727afe0

查看文件

@@ -202,7 +202,7 @@ class XiaomiSm8450UdfpsHander : public UdfpsHandler {
} }
void onFingerDown(uint32_t x, uint32_t y, float /*minor*/, float /*major*/) { 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 // Track x and y coordinates
lastPressX = x; lastPressX = x;
lastPressY = y; lastPressY = y;
@@ -212,13 +212,13 @@ class XiaomiSm8450UdfpsHander : public UdfpsHandler {
} }
void onFingerUp() { void onFingerUp() {
LOG(INFO) << __func__; LOG(DEBUG) << __func__;
// Ensure touchscreen is aware of the press state, ideally this is not needed // Ensure touchscreen is aware of the press state, ideally this is not needed
setFingerDown(false); setFingerDown(false);
} }
void onAcquired(int32_t result, int32_t vendorCode) { 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) { if (result == FINGERPRINT_ACQUIRED_GOOD) {
// Set finger as up to disable HBM already, even if the finger is still pressed // Set finger as up to disable HBM already, even if the finger is still pressed
setFingerDown(false); setFingerDown(false);
@@ -239,24 +239,24 @@ class XiaomiSm8450UdfpsHander : public UdfpsHandler {
} }
void cancel() { void cancel() {
LOG(INFO) << __func__; LOG(DEBUG) << __func__;
enrolling = false; enrolling = false;
setFodStatus(FOD_STATUS_OFF); setFodStatus(FOD_STATUS_OFF);
} }
void preEnroll() { void preEnroll() {
LOG(INFO) << __func__; LOG(DEBUG) << __func__;
enrolling = true; enrolling = true;
} }
void enroll() { void enroll() {
LOG(INFO) << __func__; LOG(DEBUG) << __func__;
enrolling = true; enrolling = true;
} }
void postEnroll() { void postEnroll() {
LOG(INFO) << __func__; LOG(DEBUG) << __func__;
enrolling = false; enrolling = false;
setFodStatus(FOD_STATUS_OFF); setFodStatus(FOD_STATUS_OFF);