Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9af570f9 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Fix onError arguments

Seems to be introduced from not updating together with ag/11086045

Test: manual
Bug: 151967372
Bug: 157077040

Change-Id: I38edfe9735f22b98a8a282f42ba177213306cad3
parent 3b186c43
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -772,7 +772,7 @@ public class FaceService extends BiometricServiceBase {
        public void onError(int error, int vendorCode, int cookie)
                throws RemoteException {
            if (getWrapperReceiver() != null) {
                getWrapperReceiver().onError(cookie, TYPE_FACE, error, vendorCode);
                getWrapperReceiver().onError(getSensorId(), cookie, error, vendorCode);
            }
        }
    }
+1 −1
Original line number Diff line number Diff line
@@ -490,7 +490,7 @@ public class FingerprintService extends BiometricServiceBase {
        public void onError(int error, int vendorCode, int cookie)
                throws RemoteException {
            if (getWrapperReceiver() != null) {
                getWrapperReceiver().onError(cookie, TYPE_FINGERPRINT, error, vendorCode);
                getWrapperReceiver().onError(getSensorId(), cookie, error, vendorCode);
            }
        }
    }