aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornebrassy <nebras30@gmail.com>2021-01-16 11:11:09 +0200
committernebrassy <nebras30@gmail.com>2021-01-16 11:11:09 +0200
commit28c4d804d5a0189d0966c275824f2ee717696ac7 (patch)
tree42235990bbb9d6d220189bc51c1e73d82b534c12
parent485a15445dbce30929458b05260fda7cf33e00f0 (diff)
Revert "wayne: sdm660: Disable vibrator HAL interface"
This reverts commit 485a15445dbce30929458b05260fda7cf33e00f0.
-rw-r--r--device.mk5
-rwxr-xr-xmanifest.xml9
2 files changed, 14 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index cf159e1..b039be5 100644
--- a/device.mk
+++ b/device.mk
@@ -83,6 +83,11 @@ PRODUCT_COPY_FILES += \
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH)
+# Vibrator
+PRODUCT_PACKAGES += \
+ android.hardware.vibrator@1.0-impl \
+ android.hardware.vibrator@1.0-service
+
# Watermark
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/media/MIUI_DualCamera_watermark_6X.png:$(TARGET_COPY_OUT_VENDOR)/etc/MIUI_DualCamera_watermark.png
diff --git a/manifest.xml b/manifest.xml
index f43e659..a6ba39f 100755
--- a/manifest.xml
+++ b/manifest.xml
@@ -9,6 +9,15 @@
</interface>
</hal>
<hal format="hidl">
+ <name>android.hardware.vibrator</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IVibrator</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
<name>vendor.qti.hardware.cryptfshw</name>
<transport>hwbinder</transport>
<version>1.0</version>