commit | cde00828dc0b399028e1a58a9a1c424d20e334b7 | [log] [tgz] |
---|---|---|
author | Rachel Lee <rnlee@google.com> | Wed Jan 12 17:45:24 2022 -0800 |
committer | Rachel Lee <rnlee@google.com> | Wed Jan 12 17:45:24 2022 -0800 |
tree | 65bb193645987aae914bef4fa89d5ec785cf8773 | |
parent | b5a665ea270ae967e13af37cc3b1467bb57170b8 [diff] [blame] |
Use renamed AChoreographer method. Test: make Bug: 214303753 Change-Id: I8e3f54b0cce6cb224aa266fbe1ad083534989c88
diff --git a/services/camera/libcameraservice/device3/PreviewFrameScheduler.cpp b/services/camera/libcameraservice/device3/PreviewFrameScheduler.cpp index 1fbdb18..b64ec0d 100644 --- a/services/camera/libcameraservice/device3/PreviewFrameScheduler.cpp +++ b/services/camera/libcameraservice/device3/PreviewFrameScheduler.cpp
@@ -44,7 +44,7 @@ size_t length = AChoreographerFrameCallbackData_getFrameTimelinesLength(callbackData); std::vector<nsecs_t> timeline(length); for (size_t i = 0; i < length; i++) { - nsecs_t timestamp = AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTime( + nsecs_t timestamp = AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTimeNanos( callbackData, i); timeline[i] = timestamp; }