sm8450-common: udfps: Change verbose logging to DEBUG

Change-Id: Ic3c4401e61b54445f9acc0d1e53c75c21b6a6ee6
This commit is contained in:
Arian 2024-03-14 14:38:35 +01:00
parent 1c5b35a3c1
commit 2ab727afe0

View file

@ -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);