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

Commit 9208a095 authored by Ilya Matyukhin's avatar Ilya Matyukhin
Browse files

IFace: fix default implementation to pass VTS

Bug: 193849101
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: Ia90c639074a6a9ed270f7c499c8816a8c7224b7f
parent 61a6d8d7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -107,7 +107,8 @@ ndk::ScopedAStatus Session::removeEnrollments(const std::vector<int32_t>& /*enro
ndk::ScopedAStatus Session::getFeatures() {
    LOG(INFO) << "getFeatures";
    if (cb_) {
        cb_->onFeaturesRetrieved({});
        // Must error out with UNABLE_TO_PROCESS when no faces are enrolled.
        cb_->onError(Error::UNABLE_TO_PROCESS, 0 /* vendorCode */);
    }
    return ndk::ScopedAStatus::ok();
}