Merge "bootctrl HAL uses "default" service name"
am: cf1af460d5
Change-Id: Iae6ad548a1f3d10864daf95c05db05e5277f52ab
This commit is contained in:
@@ -147,7 +147,7 @@ int main(int argc, char** argv) {
|
|||||||
LOG(INFO) << "Started with arg " << i << ": " << argv[i];
|
LOG(INFO) << "Started with arg " << i << ": " << argv[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
sp<IBootControl> module = IBootControl::getService("bootctrl");
|
sp<IBootControl> module = IBootControl::getService();
|
||||||
if (module == nullptr) {
|
if (module == nullptr) {
|
||||||
LOG(ERROR) << "Error getting bootctrl module.";
|
LOG(ERROR) << "Error getting bootctrl module.";
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user