diff options
| author | 2020-08-05 09:33:01 +0000 | |
|---|---|---|
| committer | 2020-08-05 09:33:01 +0000 | |
| commit | 7de17835cdebf41865336b663d4939f6329006c7 (patch) | |
| tree | d97eeaa21fb981870ff15b39c023cfcfb0c9365e /libs/gui/DisplayEventDispatcher.cpp | |
| parent | 122d496ed27c93138436e8d3e5bd818402aac9cf (diff) | |
| parent | a524a098e9280897a965bae16efd27469ff01ea4 (diff) | |
Merge "Use type safe display IDs."
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
| -rw-r--r-- | libs/gui/DisplayEventDispatcher.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/gui/DisplayEventDispatcher.cpp b/libs/gui/DisplayEventDispatcher.cpp index b33bc9e556..51fbb9748b 100644 --- a/libs/gui/DisplayEventDispatcher.cpp +++ b/libs/gui/DisplayEventDispatcher.cpp @@ -121,9 +121,8 @@ int DisplayEventDispatcher::handleEvent(int, int events, void*) { PhysicalDisplayId vsyncDisplayId; uint32_t vsyncCount; if (processPendingEvents(&vsyncTimestamp, &vsyncDisplayId, &vsyncCount)) { - ALOGV("dispatcher %p ~ Vsync pulse: timestamp=%" PRId64 - ", displayId=%" ANDROID_PHYSICAL_DISPLAY_ID_FORMAT ", count=%d", - this, ns2ms(vsyncTimestamp), vsyncDisplayId, vsyncCount); + ALOGV("dispatcher %p ~ Vsync pulse: timestamp=%" PRId64 ", displayId=%s, count=%d", this, + ns2ms(vsyncTimestamp), to_string(vsyncDisplayId).c_str(), vsyncCount); mWaitingForVsync = false; dispatchVsync(vsyncTimestamp, vsyncDisplayId, vsyncCount); } |