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

Commit cde00828 authored by Rachel Lee's avatar Rachel Lee
Browse files

Use renamed AChoreographer method.

Test: make
Bug: 214303753
Change-Id: I8e3f54b0cce6cb224aa266fbe1ad083534989c88
parent b5a665ea
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;
    }
    }