summaryrefslogtreecommitdiffstats
path: root/libs/input/tests/StructLayout_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/input/tests/StructLayout_test.cpp')
-rw-r--r--libs/input/tests/StructLayout_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/input/tests/StructLayout_test.cpp b/libs/input/tests/StructLayout_test.cpp
index d19f3b806..12a67828a 100644
--- a/libs/input/tests/StructLayout_test.cpp
+++ b/libs/input/tests/StructLayout_test.cpp
@@ -65,6 +65,9 @@ void TestInputMessageAlignment() {
CHECK_OFFSET(InputMessage::Body::Motion, yPrecision, 76);
CHECK_OFFSET(InputMessage::Body::Motion, pointerCount, 80);
CHECK_OFFSET(InputMessage::Body::Motion, pointers, 88);
+
+ CHECK_OFFSET(InputMessage::Body::Finished, seq, 0);
+ CHECK_OFFSET(InputMessage::Body::Finished, handled, 4);
}
} // namespace android