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

Commit 88796f49 authored by Ilya Matyukhin's avatar Ilya Matyukhin
Browse files

IFace: update VTS test to pass std::nullopt for previewSurface

Bug: 194346408
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I1e945d821d4b91b9a9ea8f74ae6f817ef04a0f85
parent bde61ca1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ TEST_P(Face, EnrollWithBadHatResultsInErrorTest) {
    auto hat = keymaster::HardwareAuthToken{};
    std::shared_ptr<common::ICancellationSignal> cancellationSignal;
    ASSERT_TRUE(
            mSession->enroll(hat, EnrollmentType::DEFAULT, {}, NativeHandle{}, &cancellationSignal)
            mSession->enroll(hat, EnrollmentType::DEFAULT, {}, std::nullopt, &cancellationSignal)
                    .isOk());

    // Make sure an error is returned.