universal7904: Compile Vibrator HAL from source
Change-Id: Id0d48bcd00ef612872ca77b4706c0a2cb7828933
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
diff --git a/manifest.xml b/manifest.xml
index 81e5b79..36a6367 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -269,16 +269,6 @@
<fqname>@1.1::IUsb/default</fqname>
</hal>
<hal format="hidl">
- <name>android.hardware.vibrator</name>
- <transport>hwbinder</transport>
- <version>1.3</version>
- <interface>
- <name>IVibrator</name>
- <instance>default</instance>
- </interface>
- <fqname>@1.3::IVibrator/default</fqname>
- </hal>
- <hal format="hidl">
<name>android.hardware.wifi</name>
<transport>hwbinder</transport>
<version>1.3</version>
@@ -359,16 +349,6 @@
<fqname>@2.0::ISehChannel/imsd2</fqname>
</hal>
<hal format="hidl">
- <name>vendor.samsung.hardware.vibrator</name>
- <transport>hwbinder</transport>
- <version>2.0</version>
- <interface>
- <name>ISehVibrator</name>
- <instance>default</instance>
- </interface>
- <fqname>@2.0::ISehVibrator/default</fqname>
- </hal>
- <hal format="hidl">
<name>vendor.samsung.hardware.wifi</name>
<transport>hwbinder</transport>
<version>2.0</version>
diff --git a/proprietary-files.txt b/proprietary-files.txt
index 76a2bbc..8bde57b 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -30,7 +30,6 @@
vendor/bin/hw/mfgloader
vendor/bin/hw/rild
vendor/bin/hw/vendor.samsung.hardware.gnss@2.0-service
-vendor/bin/hw/vendor.samsung.hardware.vibrator@2.0-service
vendor/bin/hw/vendor.samsung.hardware.wifi@2.0-service
vendor/bin/hw/vendor.trustonic.tee@1.0-service
vendor/bin/hw/vendor.trustonic.teeregistry@1.0-service
@@ -79,7 +78,6 @@
vendor/etc/init/init.vendor.rilcommon.rc
vendor/etc/init/mobicore.rc
vendor/etc/init/vendor.samsung.hardware.gnss@2.0-service.rc
-vendor/etc/init/vendor.samsung.hardware.vibrator@2.0-service.rc
vendor/etc/init/vendor.samsung.hardware.wifi@2.0-service.rc
vendor/etc/init/vendor.trustonic.tee@1.0-service.rc
vendor/etc/init/vendor.trustonic.teeregistry@1.0-service.rc
diff --git a/universal7904-common.mk b/universal7904-common.mk
index 52c6f57..a1ce9f6 100644
--- a/universal7904-common.mk
+++ b/universal7904-common.mk
@@ -190,6 +190,10 @@
PRODUCT_PACKAGES += \
android.hardware.usb@1.1-service.typec
+# Vibrator
+PRODUCT_PACKAGES += \
+ android.hardware.vibrator@1.3-service.samsung
+
# VNDK
PRODUCT_COPY_FILES += \
prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcutils-v29.so \