SurfaceFlinger: rename FrameTimeline's setActualEndTime
Rename setActualEndTime to setAcquireFenceTime to better reflect what
the method keeps track of.
Change-Id: I1865a48d0cc4fbb55c4ec0fe2ff172fd31735ccb
Test: SF unit tests
diff --git a/services/surfaceflinger/BufferStateLayer.cpp b/services/surfaceflinger/BufferStateLayer.cpp
index 2033f8e..361c1f3 100644
--- a/services/surfaceflinger/BufferStateLayer.cpp
+++ b/services/surfaceflinger/BufferStateLayer.cpp
@@ -162,8 +162,8 @@
mCurrentStateModified = mCurrentState.modified;
bool stateUpdateAvailable = Layer::applyPendingStates(stateToCommit);
if (stateUpdateAvailable && mCallbackHandleAcquireTime != -1) {
- // Update the actual end time if we have a buffer
- mSurfaceFrame->setActualEndTime(mCallbackHandleAcquireTime);
+ // Update the acquire fence time if we have a buffer
+ mSurfaceFrame->setAcquireFenceTime(mCallbackHandleAcquireTime);
}
mCurrentStateModified = stateUpdateAvailable && mCurrentStateModified;
mCurrentState.modified = false;