sm8450-common: udfps: Drop leftover reading of fp vendor
Change-Id: I6c4be210f8f7032192d910e47eca2caa767e7fe8
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user