Skip to content

Commit

Permalink
Revert "Revert "vayu: use blobs qti vibrator""
Browse files Browse the repository at this point in the history
This reverts commit bdbbc32.
  • Loading branch information
erwinabs committed Nov 27, 2023
1 parent 9211672 commit 507cd59
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
9 changes: 2 additions & 7 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ PLATFORM_VERSION_LAST_STABLE := $(PLATFORM_VERSION)
# Recovery
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/recovery/root/system/etc/recovery.fstab
TARGET_RECOVERY_DEVICE_MODULES += libion [email protected] [email protected] libdisplayconfig.qti vendor.qti.hardware.vibrator.service vendor.qti.hardware.vibrator.impl libqtivibratoreffect
TARGET_RECOVERY_DEVICE_MODULES += libion [email protected] [email protected] libdisplayconfig.qti

# TWRP specific build flags
TW_THEME := portrait_hdpi
Expand All @@ -71,13 +71,8 @@ TW_INCLUDE_FASTBOOTD := true
# Vibrator
TW_SUPPORT_INPUT_AIDL_HAPTICS := true

RECOVERY_BINARY_SOURCE_FILES += \
$(TARGET_OUT_VENDOR_EXECUTABLES)/hw/vendor.qti.hardware.vibrator.service

RECOVERY_LIBRARY_SOURCE_FILES += \
$(TARGET_OUT_SHARED_LIBRARIES)/libion.so \
$(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/[email protected] \
$(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/[email protected] \
$(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/libdisplayconfig.qti.so \
$(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/vendor.qti.hardware.vibrator.impl.so \
$(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/libqtivibratoreffect.so
$(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/libdisplayconfig.qti.so
9 changes: 4 additions & 5 deletions recovery/root/init.recovery.qcom.rc
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ service overrideprops /system/bin/overrideprops.sh
oneshot
seclabel u:r:recovery:s0

service vendor.qti.vibrator /system/bin/vendor.qti.hardware.vibrator.service
user root
group root
disabled
setenv LD_LIBRARY_PATH /vendor/lib64:/vendor/lib:/system/lib64:/system/lib:/sbin
service vendor.qti.vibrator /vendor/bin/hw/vendor.qti.hardware.vibrator.service
class hal
user system
group system input
seclabel u:r:recovery:s0

on fs
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 507cd59

Please sign in to comment.