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).
Loading
Please register or sign in to comment