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

Commit 46a1accf authored by Janis Danisevskis's avatar Janis Danisevskis Committed by Android (Google) Code Review
Browse files

Merge "Use propper default service implementation for keymaster HAL"

parents eb1d38a5 2e88b6b4
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);
}