mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-01-27 18:59:11 +00:00
Dump fingerprint configurations on CLI dumpsys command
Bug: 326227403 Test: adb shell dumpsys android.hardware.biometrics.fingerprint.IFingerprint/virtual Change-Id: I75e11b7baef3566411588ea5231f6336d271dc77
This commit is contained in:
@@ -132,6 +132,7 @@ ConfigValue Config::getDefault(const std::string& name) {
|
||||
}
|
||||
|
||||
bool Config::setInternal(const std::string& name, const ConfigValue& val) {
|
||||
LOG(INFO) << "Config::set " << name << " to " << toString(val);
|
||||
bool res = false;
|
||||
auto& data = mMap[name];
|
||||
|
||||
|
||||
@@ -125,6 +125,8 @@ binder_status_t Fingerprint::dump(int fd, const char** /*args*/, uint32_t numArg
|
||||
}
|
||||
::android::base::WriteStringToFd(mEngine->toString(), fd);
|
||||
|
||||
::android::base::WriteStringToFd(Fingerprint::cfg().toString(), fd);
|
||||
|
||||
fsync(fd);
|
||||
return STATUS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user