summaryrefslogtreecommitdiff
path: root/libs/gui
diff options
context:
space:
mode:
author Rachel Lee <rnlee@google.com> 2023-05-19 11:20:05 -0700
committer Rachel Lee <rnlee@google.com> 2023-05-19 11:20:05 -0700
commitf3f3991bc8475c36e51c74333acd13df55abbf2c (patch)
treed7a756c47bb12a40699173a399ca7a424759a454 /libs/gui
parentb9aadd30183ae763a5f4ac92dcc216c8a1663fe5 (diff)
Fix status log in getLatestVsyncEventData
status.toString8 lists error code and message already formatted. Bug: 283421301 Test: ABTD Change-Id: Ica98e4d8a7c6aef39cc2223c458381a07341765d
Diffstat (limited to 'libs/gui')
-rw-r--r--libs/gui/DisplayEventReceiver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/DisplayEventReceiver.cpp b/libs/gui/DisplayEventReceiver.cpp
index 6849a95d1e..67cbc7b111 100644
--- a/libs/gui/DisplayEventReceiver.cpp
+++ b/libs/gui/DisplayEventReceiver.cpp
@@ -99,7 +99,7 @@ status_t DisplayEventReceiver::getLatestVsyncEventData(
if (mEventConnection != nullptr) {
auto status = mEventConnection->getLatestVsyncEventData(outVsyncEventData);
if (!status.isOk()) {
- ALOGE("Failed to get latest vsync event data: %s", status.exceptionMessage().c_str());
+ ALOGE("Failed to get latest vsync event data: %s", status.toString8().c_str());
return status.transactionError();
}
return NO_ERROR;