rosemary: Switch to common USB service

Change-Id: Ie7bc896c51c435ddd7906f02409c3610386e9ea3
Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
bengris32
2024-02-19 12:02:32 +01:00
committed by Matsvei Niaverau
parent e76dccff1a
commit b8b7b383cc
3 changed files with 1 additions and 14 deletions

View File

@@ -462,12 +462,7 @@ PRODUCT_PACKAGES += \
# USB
PRODUCT_PACKAGES += \
android.hardware.usb@1.0.vendor \
android.hardware.usb@1.1.vendor \
android.hardware.usb@1.2.vendor \
android.hardware.usb@1.3.vendor \
android.hardware.usb.gadget@1.0.vendor \
android.hardware.usb.gadget@1.1.vendor
android.hardware.usb-service.mediatek
# Vibrator
PRODUCT_PACKAGES += \

View File

@@ -2633,11 +2633,6 @@ vendor/lib64/hw/thermal_hal.so
vendor/lib/libudf.so
vendor/lib64/libudf.so
# USB
vendor/bin/hw/android.hardware.usb@1.2-service-mediatekv2
vendor/etc/init/android.hardware.usb@1.2-service-mediatekv2.rc
vendor/etc/vintf/manifest/android.hardware.usb@1.2-service-mediatekv2.xml
# WiFi
vendor/bin/wlan_assistant
vendor/bin/wmt_launcher

View File

@@ -30,9 +30,6 @@
# Thermals
/vendor/bin/mi_thermald u:object_r:mi_thermald_exec:s0
# USB
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@1\.[0-9]+-service\.rosemary u:object_r:mtk_hal_usb_exec:s0
# Vibrator
/vendor/bin/hw/android\.hardware\.vibrator-service\.rosemary u:object_r:hal_vibrator_default_exec:s0