From 8f7d06bba3219bca2cee92a25e81539b8b581e32 Mon Sep 17 00:00:00 2001
From: Tai Kuo <taikuo@google.com>
Date: Thu, 10 Mar 2022 13:07:38 +0800
Subject: [PATCH] vibrator: enable composePwle

Bug: 193784220
Test: adb shell getprop | grep vibrator
Test: adb shell dumpsys vibrator_manager
Test: adb shell dumpsys android.hardware.vibrator.IVibrator/default
Test: atest VtsHalVibratorTargetTest
Change-Id: I66b109d67400cf6382b23c0969726031d38b2697
---
 device-cheetah.mk | 4 ++++
 device-panther.mk | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/device-cheetah.mk b/device-cheetah.mk
index eb612df7..08088334 100644
--- a/device-cheetah.mk
+++ b/device-cheetah.mk
@@ -231,3 +231,7 @@ endif
 # Fingerprint als feed forward
 PRODUCT_VENDOR_PROPERTIES += \
     persist.vendor.udfps.als_feed_forward_supported=true
+
+# Vibrator HAL
+PRODUCT_VENDOR_PROPERTIES += \
+    ro.vendor.vibrator.hal.chirp.enabled=1
diff --git a/device-panther.mk b/device-panther.mk
index 53c4879e..bc1868c2 100644
--- a/device-panther.mk
+++ b/device-panther.mk
@@ -223,3 +223,7 @@ endif
 # Fingerprint als feed forward
 PRODUCT_VENDOR_PROPERTIES += \
     persist.vendor.udfps.als_feed_forward_supported=true
+
+# Vibrator HAL
+PRODUCT_VENDOR_PROPERTIES += \
+    ro.vendor.vibrator.hal.chirp.enabled=1
-- 
GitLab