sm6150-common: Switch to android.hardware.usb@1.3-service.dual_role_usb

Change-Id: Ibd14f7d31dfaf41e040302eda3bc49f351deb618
This commit is contained in:
Michael Bestas 2024-03-21 13:38:44 +02:00 committed by basamaryan
parent f6ca8c44ba
commit f531fce60d
No known key found for this signature in database
GPG Key ID: 0A28C6D8648B81DD
3 changed files with 1 additions and 13 deletions

View File

@ -168,11 +168,6 @@ SOONG_CONFIG_xiaomiSm6150Vars += \
SOONG_CONFIG_xiaomiSm6150Vars_livedisplay_support_anti_flicker ?= false
SOONG_CONFIG_xiaomiSm6150Vars_livedisplay_support_sunlight_enhancement ?= true
# Trust
TARGET_TRUST_USB_CONTROL_PATH := /sys/devices/platform/soc/a600000.ssusb/usb_data_enabled
TARGET_TRUST_USB_CONTROL_ENABLE := 0
TARGET_TRUST_USB_CONTROL_DISABLE := 1
# Verified Boot
BOARD_AVB_ENABLE := true
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3

View File

@ -57,6 +57,3 @@ genfscon sysfs /devices/platform/soc/soc:fingerprint_fpc/wakeup
# Power
genfscon proc /sys/kernel/sched_energy_aware u:object_r:proc_sched_energy_aware:s0
# USB
genfscon sysfs /devices/platform/soc/a600000.ssusb/usb_data_enabled u:object_r:sysfs_usb_data_enabled:s0

View File

@ -382,17 +382,13 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
# Trust HAL
PRODUCT_PACKAGES += \
vendor.lineage.trust@1.0-service
# Uevent
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc
# USB
PRODUCT_PACKAGES += \
android.hardware.usb@1.0-service
android.hardware.usb@1.3-service.dual_role_usb
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \