summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2009-08-19 09:03:56 -0400
committerPatrick Scott <phanna@android.com>2009-08-19 13:12:13 -0400
commit24f1076097588b7db1269044fb55af58bc420e58 (patch)
tree03e99298b69bee7ef8464553237262645bb91426 /opengl/tests/gl_basic/gl_basic.cpp
parent220dec2897d739ecb627e46b4cafbd664f4ff762 (diff)
Check for a timeout <= 0 before adding the vibration.
A timeout of 0 could cause the vibration thread to run with a null pattern and crash the system server. Instead, we should just ignore vibrations that don't make any sense (similar to ignoring a bad pattern vibration).
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions