From 957e7b171b3f5982c2ba1908d3e238b41742f4b2 Mon Sep 17 00:00:00 2001 From: Arian Date: Thu, 29 Aug 2024 22:00:24 +0200 Subject: [PATCH] sm8450-common: udfps: Drop leftover reading of fp vendor Change-Id: I6c4be210f8f7032192d910e47eca2caa767e7fe8 --- udfps/UdfpsHandler.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/udfps/UdfpsHandler.cpp b/udfps/UdfpsHandler.cpp index 7f09835..66856b2 100644 --- a/udfps/UdfpsHandler.cpp +++ b/udfps/UdfpsHandler.cpp @@ -95,10 +95,6 @@ class XiaomiSm8450UdfpsHander : public UdfpsHandler { touch_fd_ = android::base::unique_fd(open(TOUCH_DEV_PATH, O_RDWR)); disp_fd_ = android::base::unique_fd(open(DISP_FEATURE_PATH, O_RDWR)); - std::string fpVendor = android::base::GetProperty("persist.vendor.sys.fp.vendor", "none"); - LOG(DEBUG) << __func__ << "fingerprint vendor is: " << fpVendor; - isFpcFod = fpVendor == "fpc_fod"; - // Thread to notify fingeprint hwmodule about fod presses std::thread([this]() { int fd = open(FOD_PRESS_STATUS_PATH, O_RDONLY); @@ -220,7 +216,6 @@ class XiaomiSm8450UdfpsHander : public UdfpsHandler { fingerprint_device_t* mDevice; android::base::unique_fd touch_fd_; android::base::unique_fd disp_fd_; - bool isFpcFod; uint32_t lastPressX, lastPressY; void setFingerDown(bool pressed) {