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) {