summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2017-11-01 16:32:14 -0700
committer Siarhei Vishniakou <svv@google.com> 2017-11-02 14:49:49 -0700
commit635cb71a65d361ec107afeafcb49488f6812f7d1 (patch)
treee1311b21ebbd19e0ce35695f6d5026eed432a254 /libs/gui/SurfaceComposerClient.cpp
parentd134b22624fc5eb47c426c05019ec4d9c2c82db7 (diff)
Fix broken input tests
InputPublisherAndConsumer_test currently segfaults due to null pointer dereference. This is because 0 is passed instead of a valid pointer to an allocated int32_t. Also, enforce strict compiler warnings, include signed comparisons. Bug: 62033391 Test: m -j libinput_tests_InputEvent_test libinput_tests_InputChannel_test libinput_tests_InputPublisherAndConsumer_test libinput_tests_InputTransport_test libinput_tests_VelocityTracker_test && adb push out/target/product/taimen/data/nativetest/libinput_tests/ /data/nativetest/ then run the above tests individually, for example /data/nativetest/libinput_tests # ./InputPublisherAndConsumer_test and others in a similar manner Change-Id: Ia030cdbfa22d2bf7bdf6274a337b059ca3f9a6c3
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions