Use AVsyncId typedef in hwui.

Test: atest hwui_unit_tests
Bug: 214063411
Change-Id: I0b5de12d36c7df5e961870d53619af43f7c3ff6d
This commit is contained in:
Rachel Lee
2022-01-14 15:37:02 -08:00
parent 7e47b3dd7d
commit 5ad064f017

View File

@@ -117,7 +117,7 @@ void RenderThread::extendedFrameCallback(const AChoreographerFrameCallbackData*
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);