commit | 6282341330b0304b1a014106309c532e94ff41d7 | [log] [tgz] |
---|---|---|
author | Simon Bowden <sbowden@google.com> | Mon Oct 17 14:52:26 2022 +0000 |
committer | Simon Bowden <sbowden@google.com> | Sat Oct 29 13:24:02 2022 +0000 |
tree | ecaec6b4fadf3cfff1881920cf28d3bd07175c90 | |
parent | 3ea84553bde4581708578605f17aa5b7f18c9f97 [diff] |
Decouple HapticScale from ExternalVibratorService scale. Use a conversion function rather than a static cast, and convert to a properly typed HapticScale straight away, and all the way down to where it's marshalled into the effect params. Bug: 248993206 Test: presubmit, manual check scaling of audio-coupled ringtone Change-Id: I588031ace0b3562cba50449b2147acaa6098af57