Merge "Update for hiding Status from Return<T> object."
am: c47aa53c84
Change-Id: If4e92201b4f3a21925c9a2644fa8fa76d0ce7d18
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp
index 28fca4d..d99084b 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -537,18 +537,18 @@
if (!notifyRet.isOk()) {
fprintf(stderr, "failed to notifySyspropsChanged on service %s: %s\n",
fqInstanceName.c_str(),
- notifyRet.getStatus().toString8().string());
+ notifyRet.description().c_str());
}
});
if (!getRet.isOk()) {
fprintf(stderr, "failed to get service %s: %s\n",
fqInstanceName.c_str(),
- getRet.getStatus().toString8().string());
+ getRet.description().c_str());
}
}
});
if (!listRet.isOk()) {
- fprintf(stderr, "failed to list services: %s\n", listRet.getStatus().toString8().string());
+ fprintf(stderr, "failed to list services: %s\n", listRet.description().c_str());
}
}