Commit graph

4 commits

Author SHA1 Message Date
Chris Paulo
8fcd6b1758 [DO NOT MERGE] bluejay/vibrator: Re-enable adaptive haptics
Re-enable the adaptive haptics feature for latest qpr in order to align
with other similar devices.

Bug: 198239103
Test: adb shell dumpsys android.hardware.vibrator.IVibrator/default
Change-Id: Ie2964f4971f209ad4d18a05007e1847bad68ff25
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2023-02-11 00:19:40 +00:00
Chris Paulo
b1acfc42d6 [DO NOT MERGE] device/vibrator: Disable adaptive haptics feature for b3
Disable the adaptive haptics feature temporarily for qpr2 release

Bug: 260247920
Test: Verified feature disabled on device
Change-Id: If9929744ac798f69cf8ee73529f16badcfcb302a
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-30 19:21:50 +00:00
Chris Paulo
59662424ec [DO NOT MERGE] device/vibrator: Add contextual haptics feature
Add capability for vibrator HAL to detect whether the device is face-up
and adjust/scale haptic alerts to avoid loud and startling buzzing when
there is no case on the device

Bug: 198239103
Test: Verified tests and functionality
Change-Id: I93875c3c1e6128d275cb8007f8e8870a7842938a
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-17 01:29:52 +00:00
Chris Paulo
4b6eea9a95 [DO NOT MERGE] device/vibrator: Move vibrator HAL into device folder for l26
Moved L26 portion of vibrator hal from hardware/google/pixel to
device/google

Bug: 198239103
Test: None
Change-Id: I0d3b5c068168ede0cae1e7a99cc8497185b48ec3
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-17 01:24:11 +00:00