Files
frameworks_base/core/java/android/os
Lais Andrade 2356453306 Constrain scaled amplitude to valid values in [1,255]
Scaling down low amplitudes can lead to one-shot effects with amplitude
zero, which leads to an invalid VibrationEffect and causes
IllegalArgumentException to be thrown on an originally valid effect.

Bug: 179674498
Test: VibrationEffectTest
Change-Id: Ie653084d37f9bfed20aac25f8805ffdf40661e03
2021-02-22 01:08:18 +00:00
..
2020-08-05 17:40:02 +00:00
2021-01-12 16:15:52 -08:00
2020-12-10 22:53:07 +00:00
2021-02-16 18:54:23 -08:00
2021-02-11 09:26:21 +00:00
2020-10-10 20:38:57 -07:00