From 3712a2a7c0a8fa19c5ce01b3c8946b4ca9f48889 Mon Sep 17 00:00:00 2001 From: Rachel Lee Date: Wed, 12 Jan 2022 17:38:52 -0800 Subject: [PATCH] Update hwui with renamed AChoreographer method. Test: atest hwui_unit_tests Bug: 214303753 Change-Id: I8f0634306f483d21b85aa74f4c008c88badd5f8f --- libs/hwui/renderthread/RenderThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hwui/renderthread/RenderThread.cpp b/libs/hwui/renderthread/RenderThread.cpp index 6755b7c081f44..d86237789b111 100644 --- a/libs/hwui/renderthread/RenderThread.cpp +++ b/libs/hwui/renderthread/RenderThread.cpp @@ -119,7 +119,7 @@ void RenderThread::extendedFrameCallback(const AChoreographerFrameCallbackData* AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex(cbData); int64_t vsyncId = AChoreographerFrameCallbackData_getFrameTimelineVsyncId( cbData, preferredFrameTimelineIndex); - int64_t frameDeadline = AChoreographerFrameCallbackData_getFrameTimelineDeadline( + int64_t frameDeadline = AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos( cbData, preferredFrameTimelineIndex); int64_t frameTimeNanos = AChoreographerFrameCallbackData_getFrameTimeNanos(cbData); // TODO(b/193273294): Remove when shared memory in use w/ expected present time always current.