summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2021-10-29 12:55:22 +0100
committer Lais Andrade <lsandrade@google.com> 2021-11-17 13:25:45 +0000
commit4e9af660508dea185c011a6db78c1bc372e0f07e (patch)
tree76c913571a9f9329fc189adf845323096c4287fc /cmds/bootanimation/BootAnimation.cpp
parent827a16ba66a08e3d5f33b6250532ee0fd6df258e (diff)
Add public vibrate method with VibrationAttributes
Deprecate Vibrator.vibrate method that takes AudioAttributes and introduce a new one that takes VibrationAttributes instead. Update setAlwaysOnEffect to also take VibrationAttributes. Introduce new public constructor for VibrationAttributes.Builder that takes AudioAttributes, to be used in scenarios where the vibration is meant to accompany an audio, and have similar attributes. Bug: 163119475 Test: VibratorTest Change-Id: I2721e3638aeb1aa4df3d515c3c0465923457dcc0
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions