commit | ee09df5cd5e0b2d389b0ad47e72763bf6fecc568 | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Fri Aug 09 17:53:14 2024 +0100 |
committer | Lais Andrade <lsandrade@google.com> | Mon Aug 12 14:52:13 2024 +0100 |
tree | e5f97a15875a934cfffd8712dab625d7caa238ee | |
parent | b19b1255c6ee3942de028db01461391245d02995 [diff] |
Add check for undefined scale factor fields This should support stable AIDL parcelabled for HapticGenerator that does not include the new scale factor float values. Adding checks for unsupported values to the scale method with coverage tests. Bug: 356406686 Bug: 356406324 Test: libvibrator_test Flag: android.os.vibrator.haptics_scale_v2_enabled Change-Id: Ic6a0f1610b47208cd9621d43f2c55845575af649