sdm660: Add USB binderized HAL service to PRODUCT_PACKAGES
The Treble project introduced binderized hal in Android O. For USB part, its Binderized hal was not compiled, thus the usb_hal service which was implemented in the hal can not be loaded by UsbPortManager. Add android.hardware.usb@1.0-service to PRODUCT_PACKAGES. Change-Id: I6269b4f3fd982bc22abd21ef8a84e7b51bfb11f7 Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
This commit is contained in:
parent
e820d59ae6
commit
edcbe9aedc
2 changed files with 13 additions and 0 deletions
10
manifest.xml
10
manifest.xml
|
@ -483,6 +483,16 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
</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>
|
||||
|
||||
<!-- Alarm HAL service -->
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.alarm</name>
|
||||
|
|
|
@ -170,6 +170,9 @@ PRODUCT_PACKAGES += android.hardware.camera.provider@2.4-impl
|
|||
# Enable binderized camera HAL
|
||||
PRODUCT_PACKAGES += android.hardware.camera.provider@2.4-service
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.usb@1.0-service
|
||||
|
||||
# Sensor features
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
|
||||
|
|
Loading…
Reference in a new issue