summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfo.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2016-08-02 09:38:26 -0700
committerJohn Reck <jreck@google.com>2016-08-02 09:38:26 -0700
commit65ddb154c75126bbef8bf03494e6fd0d98ee0127 (patch)
tree584954a6e87f852a81261fed6ecae594fab8c919 /libs/hwui/FrameInfo.h
parentc1b853ebfba7b8ff67919bb43dd73c80074d1a3b (diff)
Fix FrameMetricsObserver crash
Bug: 30587465 Someday maybe the technology will exist to allow sharing a simple constant between Java and C++, but today is not that day. Change-Id: I17694746cb8712058133cd5ea10c47b9909f740b
Diffstat (limited to 'libs/hwui/FrameInfo.h')
-rw-r--r--libs/hwui/FrameInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/FrameInfo.h b/libs/hwui/FrameInfo.h
index 1fe54591cf7e..45b57de0b504 100644
--- a/libs/hwui/FrameInfo.h
+++ b/libs/hwui/FrameInfo.h
@@ -52,6 +52,7 @@ enum class FrameInfoIndex {
QueueBufferDuration,
// Must be the last value!
+ // Also must be kept in sync with FrameMetrics.java#FRAME_STATS_COUNT
NumIndexes
};