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

Commit 352bca57 authored by Shawn Willden's avatar Shawn Willden Committed by android-build-merger
Browse files

Merge "Fix default keymaster so it doesn't start an extra thread." into pi-dev

am: d5a5888c

Change-Id: I0fe9657eb253cacca7a2e1613cc7a5e774608dee
parents dd76af08 d5a5888c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {