summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chris Phoenix <cphoenix@google.com> 2017-01-21 02:51:31 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-01-21 02:51:35 +0000
commit078b91ea547b4ac7d7c87e4dbbd61639af85ced4 (patch)
tree56f4dbc02976b8d8dcb86926300e09493e5332cc
parentaec0ea56b63295fb6c0e84383eb66950145b4b50 (diff)
parent5fceed6466434fd1c863628c8bb668e773d4c70f (diff)
Merge "vibrator HAL uses "default" service name"
-rw-r--r--cmds/dumpstate/dumpstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index b70dba27d6..111146c442 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1581,7 +1581,7 @@ int main(int argc, char *argv[]) {
::android::sp<IVibrator> vibrator = nullptr;
if (do_vibrate) {
- vibrator = IVibrator::getService("vibrator");
+ vibrator = IVibrator::getService();
if (vibrator != nullptr) {
// cancel previous vibration if any