TWRP: Enable qti input haptics vibrators support
* these type of vibrators are present in newer devices based on board sm8150 & above. Like Oneplus 7 series, Redmi K20 Pro, etc. * to enable it add TW_SUPPORT_INPUT_1_2_HAPTICS := true in Boardconfig.mk * you will need to add the vendor vibrator service to init and run it in your device tree Change-Id: I0fe6612def149e70808ca41829b6f7ba0b23cd62 Signed-off-by: Mohd Faraz <androiabledroid@gmail.com> (cherry picked from commit 909daa959c99cf3a6abbe224ec3fc45669df4440)
This commit is contained in:
@@ -280,6 +280,12 @@ ifeq ($(TW_INCLUDE_CRYPTO), true)
|
||||
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/keystore_cli
|
||||
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/servicemanager
|
||||
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/android.system.wifi.keystore@1.0.so
|
||||
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28; echo $$?),0)
|
||||
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/android.hardware.vibrator@1.0.so
|
||||
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/android.hardware.vibrator@1.1.so
|
||||
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/android.hardware.vibrator@1.2.so
|
||||
endif
|
||||
|
||||
ifneq ($(wildcard system/keymaster/keymaster_stl.cpp),)
|
||||
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libkeymaster_portable.so
|
||||
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libkeymaster_staging.so
|
||||
|
||||
Reference in New Issue
Block a user