Fix vibration patterns with zero duration steps.

SetAmplitudeVibratorStep is skipping the zero duration steps, so getVibratorOnDuration should also skip those steps to avoid breaking down the vibration pattern.

Bug: 287549459
Merged-In: I49874c64e8fe0f0a31adca023fe7273e32149a9b
Change-Id: I49874c64e8fe0f0a31adca023fe7273e32149a9b
1 file changed