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

Commit 2e88b6b4 authored by Janis Danisevskis's avatar Janis Danisevskis
Browse files

Use propper default service implementation for keymaster HAL

Test: Boot marlin with ENABLE_TREBLE
Bug: 34641942
Change-Id: I3d65555dda7e5a54034f0768ba6739c5a3b1b268
parent b338d550
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -26,10 +26,8 @@ using android::hardware::configureRpcThreadpool;
using android::hardware::joinRpcThreadpool;

using android::hardware::keymaster::V3_0::IKeymasterDevice;
using android::hardware::registerPassthroughServiceImplementation;
using android::hardware::defaultPassthroughServiceImplementation;

int main() {
    configureRpcThreadpool(1, true /*callerWillJoin*/);
    registerPassthroughServiceImplementation<IKeymasterDevice>("keymaster");
    joinRpcThreadpool();
    return defaultPassthroughServiceImplementation<IKeymasterDevice>("keymaster", 1);
}