From eb1cdbb6220b74c2949023a0b108aa87a6772bd0 Mon Sep 17 00:00:00 2001 From: Chris Phoenix Date: Fri, 20 Jan 2017 14:00:22 -0800 Subject: [PATCH] bootctrl 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; verify HAL still works Bug: 33844934 Change-Id: Idadbd59b3194a6b54e91a4beb9e295e1d00bc237 --- boot/1.0/vts/functional/boot_hidl_hal_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/1.0/vts/functional/boot_hidl_hal_test.cpp b/boot/1.0/vts/functional/boot_hidl_hal_test.cpp index 3413a93c90..36142dff64 100644 --- a/boot/1.0/vts/functional/boot_hidl_hal_test.cpp +++ b/boot/1.0/vts/functional/boot_hidl_hal_test.cpp @@ -35,7 +35,7 @@ using ::android::sp; class BootHidlTest : public ::testing::Test { public: virtual void SetUp() override { - boot = IBootControl::getService("bootctrl"); + boot = IBootControl::getService(); ASSERT_NE(boot, nullptr); }