sm7125-common: fingerprint: Use max panel brightness for FOD mask

* This improves FOD speed and quality by a lot

Change-Id: I4afe4989c084f6d7338c098c999fd68662eb4626
tirimbino
Simon1511 2 years ago committed by Ruchit Marathe
parent bb8c2fef56
commit 42a5428bd0
  1. 2
      fingerprint/BiometricsFingerprint.cpp

@ -127,7 +127,7 @@ Return<bool> BiometricsFingerprint::isUdfps(uint32_t) {
Return<void> BiometricsFingerprint::onFingerDown(uint32_t, uint32_t, float, float) { Return<void> BiometricsFingerprint::onFingerDown(uint32_t, uint32_t, float, float) {
std::thread([this]() { std::thread([this]() {
std::this_thread::sleep_for(std::chrono::milliseconds(35)); std::this_thread::sleep_for(std::chrono::milliseconds(35));
set(HBM_PATH, "331"); set(HBM_PATH, "486");
}).detach(); }).detach();
request(SEM_REQUEST_TOUCH_EVENT, FINGERPRINT_REQUEST_SESSION_OPEN); request(SEM_REQUEST_TOUCH_EVENT, FINGERPRINT_REQUEST_SESSION_OPEN);

Loading…
Cancel
Save