Use AVsyncId typedef in hwui.
Test: atest hwui_unit_tests
Bug: 214063411
Change-Id: I0b5de12d36c7df5e961870d53619af43f7c3ff6d
diff --git a/libs/hwui/renderthread/RenderThread.cpp b/libs/hwui/renderthread/RenderThread.cpp
index 6755b7c..0d78f58 100644
--- a/libs/hwui/renderthread/RenderThread.cpp
+++ b/libs/hwui/renderthread/RenderThread.cpp
@@ -117,7 +117,7 @@
RenderThread* rt = reinterpret_cast<RenderThread*>(data);
size_t preferredFrameTimelineIndex =
AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex(cbData);
- int64_t vsyncId = AChoreographerFrameCallbackData_getFrameTimelineVsyncId(
+ AVsyncId vsyncId = AChoreographerFrameCallbackData_getFrameTimelineVsyncId(
cbData, preferredFrameTimelineIndex);
int64_t frameDeadline = AChoreographerFrameCallbackData_getFrameTimelineDeadline(
cbData, preferredFrameTimelineIndex);