X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=libs%2Finput%2Ftests%2FStructLayout_test.cpp;h=12a67828ac641f159da47b8833b2f21fd63b2773;hb=81973118791ebdfa5fd2be811e1bfdebfc9324ab;hp=d19f3b8066fbe2bd2236b878796f21e3f6061491;hpb=0a91c46726431874f254b01645814485be1b8b18;p=android-x86%2Fframeworks-native.git diff --git a/libs/input/tests/StructLayout_test.cpp b/libs/input/tests/StructLayout_test.cpp index d19f3b8066..12a67828ac 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