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
This commit is contained in:
parent
cd912948cf
commit
eb1cdbb622
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue