diff --git a/gatekeeper/1.0/default/service.cpp b/gatekeeper/1.0/default/service.cpp index 407cf7157d..5cbdafbf93 100644 --- a/gatekeeper/1.0/default/service.cpp +++ b/gatekeeper/1.0/default/service.cpp @@ -24,5 +24,5 @@ using android::hardware::gatekeeper::V1_0::IGatekeeper; using android::hardware::defaultPassthroughServiceImplementation; int main() { - return defaultPassthroughServiceImplementation("gatekeeper"); + return defaultPassthroughServiceImplementation(); } diff --git a/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp b/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp index 7da229318d..bdc39561c2 100644 --- a/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp +++ b/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp @@ -187,7 +187,7 @@ class GatekeeperHidlTest : public ::testing::Test { GatekeeperHidlTest() : uid_(0) {} virtual void SetUp() override { GatekeeperResponse rsp; - gatekeeper_ = IGatekeeper::getService("gatekeeper"); + gatekeeper_ = IGatekeeper::getService(); ASSERT_NE(nullptr, gatekeeper_.get()); doDeleteAllUsers(rsp); }