aboutsummaryrefslogtreecommitdiff
path: root/update_verifier
diff options
context:
space:
mode:
authorChris Phoenix <cphoenix@google.com>2017-01-20 11:34:00 -0800
committerChris Phoenix <cphoenix@google.com>2017-01-20 14:17:10 -0800
commit0157c786740df494123cb49b3a8f00044dcfebbb (patch)
tree653298285efdac9370f7e4ef17879296e1ee2562 /update_verifier
parent37bda6a004b7b4d22116cf27c086ccd6d5ed7c4c (diff)
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 In support of b/33844934 Change-Id: I5ce988128b0471384e1472298a0ae383df2b7c3e Merged-In: I86c44aaaaf663e774c631a469ebf2b81619f89c4
Diffstat (limited to 'update_verifier')
-rw-r--r--update_verifier/update_verifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_verifier/update_verifier.cpp b/update_verifier/update_verifier.cpp
index e97a3adb..7087671e 100644
--- a/update_verifier/update_verifier.cpp
+++ b/update_verifier/update_verifier.cpp
@@ -147,7 +147,7 @@ int main(int argc, char** argv) {
LOG(INFO) << "Started with arg " << i << ": " << argv[i];
}
- sp<IBootControl> module = IBootControl::getService("bootctrl");
+ sp<IBootControl> module = IBootControl::getService();
if (module == nullptr) {
LOG(ERROR) << "Error getting bootctrl module.";
return -1;