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>