From 002ef25ab4740f91df7dc0625ecc289360752a6e Mon Sep 17 00:00:00 2001 From: Cosmin Tanislav Date: Sun, 5 Sep 2021 14:49:50 +0300 Subject: [PATCH] sm8350-common: vibrator: avoid target name conflicts --- vibrator/Android.bp | 6 +++--- vibrator/vendor.qti.hardware.vibrator.service.rc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vibrator/Android.bp b/vibrator/Android.bp index ff62eb6..d2b6489 100644 --- a/vibrator/Android.bp +++ b/vibrator/Android.bp @@ -2,7 +2,7 @@ Common_CFlags = ["-Wall"] Common_CFlags += ["-Werror"] cc_library_shared { - name: "vendor.qti.hardware.vibrator.impl", + name: "vendor.qti.hardware.vibrator.impl.xiaomi_sm8350", vendor: true, cflags: Common_CFlags, srcs: [ @@ -20,7 +20,7 @@ cc_library_shared { } cc_binary { - name: "vendor.qti.hardware.vibrator.service", + name: "vendor.qti.hardware.vibrator.service.xiaomi_sm8350", vendor: true, relative_install_path: "hw", init_rc: ["vendor.qti.hardware.vibrator.service.rc"], @@ -37,6 +37,6 @@ cc_binary { "libbase", "libbinder_ndk", "android.hardware.vibrator-ndk_platform", - "vendor.qti.hardware.vibrator.impl", + "vendor.qti.hardware.vibrator.impl.xiaomi_sm8350", ], } diff --git a/vibrator/vendor.qti.hardware.vibrator.service.rc b/vibrator/vendor.qti.hardware.vibrator.service.rc index ffa8ce9..634b0ad 100644 --- a/vibrator/vendor.qti.hardware.vibrator.service.rc +++ b/vibrator/vendor.qti.hardware.vibrator.service.rc @@ -1,4 +1,4 @@ -service vendor.qti.vibrator /vendor/bin/hw/vendor.qti.hardware.vibrator.service +service vendor.qti.vibrator /vendor/bin/hw/vendor.qti.hardware.vibrator.service.xiaomi_sm8350 class hal user system group system input