sm6150-common: Handle screen off FOD

Change-Id: I4ed9e1deeb53377fda9b5697e306b6a821d21d49
This commit is contained in:
TheScarastic 2020-07-09 12:22:08 +00:00 committed by Cosmin Tanislav
parent aba98c92b9
commit 599b5f8b39

View File

@ -109,7 +109,7 @@ Return<bool> FingerprintInscreen::handleAcquired(int32_t acquiredInfo, int32_t v
}
if (acquiredInfo == FINGERPRINT_ACQUIRED_VENDOR) {
if (vendorCode == 0) {
if (vendorCode == 22) {
Return<void> ret = mCallback->onFingerDown();
if (!ret.isOk()) {
LOG(ERROR) << "FingerDown() error: " << ret.description();
@ -117,7 +117,7 @@ Return<bool> FingerprintInscreen::handleAcquired(int32_t acquiredInfo, int32_t v
return true;
}
if (vendorCode == 1) {
if (vendorCode == 23) {
Return<void> ret = mCallback->onFingerUp();
if (!ret.isOk()) {
LOG(ERROR) << "FingerUp() error: " << ret.description();