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

Commit 8c3fa67b authored by Jeff Pu's avatar Jeff Pu Committed by Android (Google) Code Review
Browse files

Merge "Dump fingerprint configurations on CLI dumpsys command" into main

parents 18f658cd eda68e4f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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];

+2 −0
Original line number Diff line number Diff line
@@ -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;
}