commit | 24f1076097588b7db1269044fb55af58bc420e58 | [log] [tgz] |
---|---|---|
author | Patrick Scott <phanna@android.com> | Wed Aug 19 09:03:56 2009 -0400 |
committer | Patrick Scott <phanna@android.com> | Wed Aug 19 13:12:13 2009 -0400 |
tree | 03e99298b69bee7ef8464553237262645bb91426 | |
parent | 220dec2897d739ecb627e46b4cafbd664f4ff762 [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).