diff options
| author | 2023-02-14 19:58:22 +0000 | |
|---|---|---|
| committer | 2023-02-14 19:58:22 +0000 | |
| commit | b9aadd30183ae763a5f4ac92dcc216c8a1663fe5 (patch) | |
| tree | dfd83da5573efd9f0685c3a1073eab54569fc265 /services/surfaceflinger/SurfaceFlinger.cpp | |
| parent | a0b010330ef96850ee0e8544699648db5f4d5919 (diff) | |
| parent | 545da0e1040dabe238140c2ccdced5b3d60b0366 (diff) | |
Merge "Some fixes to TrustedPresentationListener"
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
| -rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index b42576fd8e..732390e929 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -2517,6 +2517,7 @@ void SurfaceFlinger::composite(TimePoint frameTime, VsyncId vsyncId) refreshArgs.previousPresentFence = mPreviousPresentFences[0].fenceTime; refreshArgs.scheduledFrameTime = mScheduler->getScheduledFrameTime(); refreshArgs.expectedPresentTime = mExpectedPresentTime.ns(); + refreshArgs.hasTrustedPresentationListener = mNumTrustedPresentationListeners > 0; // Store the present time just before calling to the composition engine so we could notify // the scheduler. |