From e1b4f45e10167252f9e562118a8049cf2b18c277 Mon Sep 17 00:00:00 2001 From: Arian Date: Sun, 9 Jun 2024 11:07:21 +0200 Subject: [PATCH] sm8550-common: Kill dedicated enroll handling within UDFPS Change-Id: I906dbfd2b4fbe2c8d28bda6927e70144350f9ee9 --- udfps/UdfpsHandler.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/udfps/UdfpsHandler.cpp b/udfps/UdfpsHandler.cpp index e3d5867..ef2f350 100644 --- a/udfps/UdfpsHandler.cpp +++ b/udfps/UdfpsHandler.cpp @@ -213,29 +213,24 @@ class XiaomiSm8550UdfpsHander : public UdfpsHandler { void cancel() { LOG(DEBUG) << __func__; - enrolling = false; } void preEnroll() { LOG(DEBUG) << __func__; - enrolling = true; } void enroll() { LOG(DEBUG) << __func__; - enrolling = true; } void postEnroll() { LOG(DEBUG) << __func__; - enrolling = false; } private: fingerprint_device_t* mDevice; android::base::unique_fd touch_fd_; android::base::unique_fd disp_fd_; - bool enrolling = false; uint32_t lastPressX, lastPressY; void setFingerDown(bool pressed) {