Enable the keymaster logger in the default Keymint am: 8f28f8b8ea

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2738433

Change-Id: I4ed1aad6a176685e53492e5f8eaaac98c4975e95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Istvan Nador 2023-09-05 16:10:25 +00:00 committed by Automerger Merge Worker
commit 6d3ce4954e

View file

@ -44,6 +44,8 @@ std::shared_ptr<T> addService(Args&&... args) {
}
int main() {
// The global logger object required by keymaster's logging macros in keymaster/logger.h.
keymaster::SoftKeymasterLogger km_logger;
// Zero threads seems like a useless pool, but below we'll join this thread to it, increasing
// the pool size to 1.
ABinderProcess_setThreadPoolMaxThreadCount(0);