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>
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>
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>
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>