Skip to content

Commit

Permalink
sm8550-common: Kill dedicated enroll handling within UDFPS
Browse files Browse the repository at this point in the history
Change-Id: I906dbfd2b4fbe2c8d28bda6927e70144350f9ee9
  • Loading branch information
ArianK16a authored and 33bca committed Jun 10, 2024
1 parent a26c386 commit e1b4f45
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions udfps/UdfpsHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e1b4f45

Please sign in to comment.