diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index e1a2bec..ea2c692 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -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 diff --git a/sepolicy/vendor/genfs_contexts b/sepolicy/vendor/genfs_contexts index d8ee6f8..4541b0a 100644 --- a/sepolicy/vendor/genfs_contexts +++ b/sepolicy/vendor/genfs_contexts @@ -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 diff --git a/sm6150.mk b/sm6150.mk index ecacd0f..33ae498 100644 --- a/sm6150.mk +++ b/sm6150.mk @@ -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 \