diff --git a/hidl/fingerprint/inscreen/FingerprintInscreen.cpp b/hidl/fingerprint/inscreen/FingerprintInscreen.cpp index d41f9c9d..1664ee91 100644 --- a/hidl/fingerprint/inscreen/FingerprintInscreen.cpp +++ b/hidl/fingerprint/inscreen/FingerprintInscreen.cpp @@ -78,6 +78,7 @@ FingerprintInscreen::FingerprintInscreen() { #ifdef FOD_SET_RECT set(TSP_CMD_PATH, FOD_SET_RECT); #endif + set(TSP_CMD_PATH, FOD_ENABLE); } Return FingerprintInscreen::onStartEnroll() { return Void(); } @@ -88,15 +89,9 @@ Return FingerprintInscreen::onPress() { return Void(); } Return FingerprintInscreen::onRelease() { return Void(); } -Return FingerprintInscreen::onShowFODView() { - set(TSP_CMD_PATH, FOD_ENABLE); - return Void(); -} +Return FingerprintInscreen::onShowFODView() { return Void(); } -Return FingerprintInscreen::onHideFODView() { - set(TSP_CMD_PATH, FOD_DISABLE); - return Void(); -} +Return FingerprintInscreen::onHideFODView() { return Void(); } Return FingerprintInscreen::handleAcquired(int32_t acquiredInfo, int32_t vendorCode) { std::lock_guard _lock(mCallbackLock);