From cd4a966e2f93408373cf32f26009f2d1dde1b709 Mon Sep 17 00:00:00 2001 From: Arian Date: Sun, 9 Jun 2024 11:07:21 +0200 Subject: [PATCH] sm8450-common: udfps: Kill dedicated enroll handling Change-Id: I906dbfd2b4fbe2c8d28bda6927e70144350f9ee9 --- udfps/UdfpsHandler.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/udfps/UdfpsHandler.cpp b/udfps/UdfpsHandler.cpp index 0a6b850..8767d36 100644 --- a/udfps/UdfpsHandler.cpp +++ b/udfps/UdfpsHandler.cpp @@ -218,22 +218,6 @@ class XiaomiSm8450UdfpsHander : 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: @@ -241,7 +225,6 @@ class XiaomiSm8450UdfpsHander : public UdfpsHandler { android::base::unique_fd touch_fd_; android::base::unique_fd disp_fd_; bool isFpcFod; - bool enrolling = false; uint32_t lastPressX, lastPressY; void setFingerDown(bool pressed) {