commit | e3b7fd9407ffb769819ff3b6957a1d28d3c80390 | [log] [tgz] |
---|---|---|
author | Chris Paulo <chrispaulo@google.com> | Mon Mar 27 14:24:47 2023 -0700 |
committer | Chris Paulo <chrispaulo@google.com> | Mon Apr 10 17:23:38 2023 -0700 |
tree | ea78bb01a75be9dd7a3b086c0cbb0d9d842adcf8 | |
parent | 00495889e105a2090a58b37e24dc8ad43298b405 [diff] |
vibrator: Update amplitudeToScale to suppress off calls Updated ampltudeToScale to suppress the logs coming from calls to vibrator::off. Currently we will apply the adaptive haptics scaling logic to these calls, which doesn't make any sense. Bug: 260006211 Test: atest VibratorHalCs40l26TestSuite Change-Id: Ibcd6d8e357baf449682b7ffe4b1c8dc873d45e69 Signed-off-by: Chris Paulo <chrispaulo@google.com>