diff options
Diffstat (limited to 'services/surfaceflinger/SurfaceFlingerProperties.cpp')
-rw-r--r-- | services/surfaceflinger/SurfaceFlingerProperties.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceFlingerProperties.cpp b/services/surfaceflinger/SurfaceFlingerProperties.cpp index 4a69c8f0c3..e15eae8c36 100644 --- a/services/surfaceflinger/SurfaceFlingerProperties.cpp +++ b/services/surfaceflinger/SurfaceFlingerProperties.cpp @@ -34,6 +34,8 @@ using android::hardware::graphics::common::V1_2::Dataspace; using android::hardware::graphics::common::V1_2::PixelFormat; using android::ui::DisplayPrimaries; +// Keep logic in sync with WindowManagerService functions that query SurfaceFlinger properties. +// Consider exposing properties via ISurfaceComposer instead. int64_t vsync_event_phase_offset_ns(int64_t defaultValue) { auto temp = SurfaceFlingerProperties::vsync_event_phase_offset_ns(); if (temp.has_value()) { |