sm8450-common: udfps: Change verbose logging to DEBUG
Change-Id: Ic3c4401e61b54445f9acc0d1e53c75c21b6a6ee6
This commit is contained in:
parent
1c5b35a3c1
commit
2ab727afe0
1 changed files with 7 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue