diff --git a/hidl/fingerprint/inscreen/FingerprintInscreen.cpp b/hidl/fingerprint/inscreen/FingerprintInscreen.cpp index 47211b16..1b1f3137 100644 --- a/hidl/fingerprint/inscreen/FingerprintInscreen.cpp +++ b/hidl/fingerprint/inscreen/FingerprintInscreen.cpp @@ -80,18 +80,15 @@ Return FingerprintInscreen::onStartEnroll() { return Void(); } Return FingerprintInscreen::onFinishEnroll() { return Void(); } -Return FingerprintInscreen::onPress() { - set(TSP_CMD_PATH, FOD_ENABLE); - return Void(); -} +Return FingerprintInscreen::onPress() { return Void(); } -Return FingerprintInscreen::onRelease() { - set(TSP_CMD_PATH, FOD_DISABLE); +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();