mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
IFace: update default implementation to use optional previewSurface
Bug: 194346408 Test: atest VtsHalBiometricsFaceTargetTest Change-Id: I72d3d6d638a1662ebd1a53a7029ea3bf200efe48
This commit is contained in:
@@ -63,7 +63,8 @@ ndk::ScopedAStatus Session::getEnrollmentConfig(EnrollmentType /*enrollmentType*
|
||||
|
||||
ndk::ScopedAStatus Session::enroll(
|
||||
const keymaster::HardwareAuthToken& /*hat*/, EnrollmentType /*enrollmentType*/,
|
||||
const std::vector<Feature>& /*features*/, const NativeHandle& /*previewSurface*/,
|
||||
const std::vector<Feature>& /*features*/,
|
||||
const std::optional<NativeHandle>& /*previewSurface*/,
|
||||
std::shared_ptr<biometrics::common::ICancellationSignal>* /*return_val*/) {
|
||||
LOG(INFO) << "enroll";
|
||||
if (cb_) {
|
||||
|
||||
@@ -41,7 +41,7 @@ class Session : public BnSession {
|
||||
|
||||
ndk::ScopedAStatus enroll(const keymaster::HardwareAuthToken& hat,
|
||||
EnrollmentType enrollmentType, const std::vector<Feature>& features,
|
||||
const NativeHandle& previewSurface,
|
||||
const std::optional<NativeHandle>& previewSurface,
|
||||
std::shared_ptr<common::ICancellationSignal>* return_val) override;
|
||||
|
||||
ndk::ScopedAStatus authenticate(
|
||||
|
||||
Reference in New Issue
Block a user