Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd31ee05 authored by Rachel Lee's avatar Rachel Lee Committed by Android (Google) Code Review
Browse files

Merge "Use renamed AChoreographer method."

parents ac01babb cde00828
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -44,7 +44,7 @@ static void frameCallback(const AChoreographerFrameCallbackData* callbackData, v
    size_t length = AChoreographerFrameCallbackData_getFrameTimelinesLength(callbackData);
    size_t length = AChoreographerFrameCallbackData_getFrameTimelinesLength(callbackData);
    std::vector<nsecs_t> timeline(length);
    std::vector<nsecs_t> timeline(length);
    for (size_t i = 0; i < length; i++) {
    for (size_t i = 0; i < length; i++) {
        nsecs_t timestamp = AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTime(
        nsecs_t timestamp = AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTimeNanos(
                callbackData, i);
                callbackData, i);
        timeline[i] = timestamp;
        timeline[i] = timestamp;
    }
    }