From a84ce0c581145c847d0f3c366226b99b5c6e00b0 Mon Sep 17 00:00:00 2001 From: Chris Phoenix Date: Tue, 24 Jan 2017 13:09:39 -0800 Subject: [PATCH] gatekeeper HAL uses "default" service name The getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: builds Bug: 33844934 Change-Id: Ie49c8cea290d328b2160f6012e7c143c49d535cc --- gatekeeperd/gatekeeperd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gatekeeperd/gatekeeperd.cpp b/gatekeeperd/gatekeeperd.cpp index 86b6287c4..e6eb3bc25 100644 --- a/gatekeeperd/gatekeeperd.cpp +++ b/gatekeeperd/gatekeeperd.cpp @@ -56,7 +56,7 @@ static const String16 DUMP_PERMISSION("android.permission.DUMP"); class GateKeeperProxy : public BnGateKeeperService { public: GateKeeperProxy() { - hw_device = IGatekeeper::getService("gatekeeper"); + hw_device = IGatekeeper::getService(); if (hw_device == nullptr) { ALOGW("falling back to software GateKeeper");