Merge "bootctrl HAL uses "default" service name"

This commit is contained in:
Chris Phoenix
2017-01-23 20:48:31 +00:00
committed by Gerrit Code Review
+1 -1
View File
@@ -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;