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:
Sriharsha Allenki 2017-07-31 14:14:41 +05:30
parent e820d59ae6
commit edcbe9aedc
2 changed files with 13 additions and 0 deletions

View file

@ -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>

View file

@ -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 \