Merge "Update for hiding Status from Return<T> object." am: c47aa53c84
am: e6d3ac9834
Change-Id: Ied0f1916b10b4f2edaa713716284acef1f5e3721
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());
}
}