commit | d17261e7635c8731c5106ccbbfed429becb44ddf | [log] [tgz] |
---|---|---|
author | ramindani <ramindani@google.com> | Wed Mar 27 17:50:25 2024 -0700 |
committer | ramindani <ramindani@google.com> | Mon Apr 01 10:02:35 2024 -0700 |
tree | 8c98457a390cfab403708b53c5504f0a127f0f72 | |
parent | 8c86ab3a241d38eb96f89106538eecba78478ae3 [diff] [blame] |
[SF] Check mode in VSyncPredictor to complete the mode transition Test: Checked the trace that minFramePeriod is correct after transition BUG: 328167952 Change-Id: I09d79a5e9359b8b76aec422e921ae70fad2a79ec
diff --git a/services/surfaceflinger/tests/unittests/VSyncDispatchRealtimeTest.cpp b/services/surfaceflinger/tests/unittests/VSyncDispatchRealtimeTest.cpp index d701a97..3b09554 100644 --- a/services/surfaceflinger/tests/unittests/VSyncDispatchRealtimeTest.cpp +++ b/services/surfaceflinger/tests/unittests/VSyncDispatchRealtimeTest.cpp
@@ -54,6 +54,7 @@ void onFrameBegin(TimePoint, TimePoint) final {} void onFrameMissed(TimePoint) final {} void dump(std::string&) const final {} + bool isCurrentMode(const ftl::NonNull<DisplayModePtr>&) const final { return false; }; protected: std::mutex mutable mMutex;