summaryrefslogtreecommitdiff
path: root/libs/gui/VsyncEventData.cpp
diff options
context:
space:
mode:
author Rachel Lee <rnlee@google.com> 2023-04-25 14:35:47 -0700
committer Rachel Lee <rnlee@google.com> 2023-05-02 16:27:18 -0700
commit40aef42d44e1f0465b8dc17e3ecd8a1aee074236 (patch)
tree7ee37a69e9cf798dd8a4a346ca00890c3c5ff69e /libs/gui/VsyncEventData.cpp
parent0655a9157bc7ab4771202d2d4e206f91d5352481 (diff)
Rename const to kFrameTimelinesCapacity
From `kFrameTimelinesLength`. Bug: 270612751 Test: build Change-Id: I83e61a19254ab4a63479a2004124cfd2c082da35
Diffstat (limited to 'libs/gui/VsyncEventData.cpp')
-rw-r--r--libs/gui/VsyncEventData.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gui/VsyncEventData.cpp b/libs/gui/VsyncEventData.cpp
index 91fc9c0ffe..8e00c2fe32 100644
--- a/libs/gui/VsyncEventData.cpp
+++ b/libs/gui/VsyncEventData.cpp
@@ -23,8 +23,8 @@
namespace android::gui {
-static_assert(VsyncEventData::kFrameTimelinesLength == 7,
- "Must update value in DisplayEventReceiver.java#FRAME_TIMELINES_LENGTH (and here)");
+static_assert(VsyncEventData::kFrameTimelinesCapacity == 7,
+ "Must update value in DisplayEventReceiver.java#FRAME_TIMELINES_CAPACITY (and here)");
int64_t VsyncEventData::preferredVsyncId() const {
return frameTimelines[preferredFrameTimelineIndex].vsyncId;