From 82bbf4d6387e8e4afc0e02e1b6e6913e734d1844 Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Mon, 9 Mar 2020 17:25:32 +0530 Subject: [PATCH] sdm710-common: usb: Convert to realme_sdm710 targets Signed-off-by: SamarV-121 --- rootdir/etc/init.qcom.rc | 2 +- sdm710.mk | 2 +- usb/Android.bp | 4 ++-- ...c.rc => android.hardware.usb@1.0-service.realme_sdm710.rc} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename usb/{android.hardware.usb@1.0-service.basic.rc => android.hardware.usb@1.0-service.realme_sdm710.rc} (100%) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 711e7ac..9cb0455 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -4,7 +4,7 @@ on post-fs mount none /system/etc/WCNSS_qcom_cfg.ini /vendor/etc/wifi/WCNSS_qcom_cfg.ini bind mount none /system/lib64/soundfx/libvolumelistener.so /vendor/lib64/soundfx/libvolumelistener.so bind mount none /system/lib/soundfx/libvolumelistener.so /vendor/lib/soundfx/libvolumelistener.so bind - mount none /system/bin/hw/android.hardware.usb@1.0-service.basic /vendor/bin/hw/android.hardware.usb@1.0-service bind + mount none /system/bin/hw/android.hardware.usb@1.0-service.realme_sdm710 /vendor/bin/hw/android.hardware.usb@1.0-service bind on boot # Touchscreen diff --git a/sdm710.mk b/sdm710.mk index 3d618c5..6a49a29 100644 --- a/sdm710.mk +++ b/sdm710.mk @@ -104,7 +104,7 @@ PRODUCT_PACKAGES += \ # USB PRODUCT_PACKAGES += \ - android.hardware.usb@1.0-service.basic + android.hardware.usb@1.0-service.realme_sdm710 # WiFi PRODUCT_COPY_FILES += \ diff --git a/usb/Android.bp b/usb/Android.bp index e10d364..2a54128 100644 --- a/usb/Android.bp +++ b/usb/Android.bp @@ -14,9 +14,9 @@ // limitations under the License. cc_binary { - name: "android.hardware.usb@1.0-service.basic", + name: "android.hardware.usb@1.0-service.realme_sdm710", relative_install_path: "hw", - init_rc: ["android.hardware.usb@1.0-service.basic.rc"], + init_rc: ["android.hardware.usb@1.0-service.realme_sdm710.rc"], srcs: ["service.cpp", "Usb.cpp"], shared_libs: [ "libbase", diff --git a/usb/android.hardware.usb@1.0-service.basic.rc b/usb/android.hardware.usb@1.0-service.realme_sdm710.rc similarity index 100% rename from usb/android.hardware.usb@1.0-service.basic.rc rename to usb/android.hardware.usb@1.0-service.realme_sdm710.rc