msm8937-common: Drop USB HAL service

* None of the Xiaomi 8937 devices have support for dual role type-C,
   therefore there's no need to build it.
This commit is contained in:
Bruno Martins 2018-04-09 23:07:57 +01:00 committed by Isaac Chen
parent 3e5f6f88db
commit ee1fd01107
2 changed files with 0 additions and 13 deletions

View file

@ -265,15 +265,6 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.usb</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IUsb</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.vibrator</name>
<transport>hwbinder</transport>

View file

@ -8,10 +8,6 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
# USB HAL
PRODUCT_PACKAGES += \
android.hardware.usb@1.0-service
# USB
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.usb.config.extra=none