mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Fix default keymaster so it doesn't start an extra thread.
Bug: 80102279 Bug: 80251973 Test: N/A; this keymaster exists only for policy compliance. It's never used. Change-Id: I45f0eefd9abdd02f6774aa52f238040510c5d62c
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
using android::hardware::keymaster::V4_0::SecurityLevel;
|
||||
|
||||
int main() {
|
||||
::android::hardware::configureRpcThreadpool(1, true /* willJoinThreadpool */);
|
||||
auto keymaster = ::keymaster::V4_0::ng::CreateKeymasterDevice(SecurityLevel::SOFTWARE);
|
||||
auto status = keymaster->registerAsService();
|
||||
if (status != android::OK) {
|
||||
|
||||
Reference in New Issue
Block a user