From 7288740f649dc738d02637b149aba8324b4b72c5 Mon Sep 17 00:00:00 2001 From: Roger Liao Date: Thu, 28 Jun 2018 17:37:19 +0800 Subject: bonito and sargo: initial device support Bug: 111163725 Change-Id: I00af3102379676cedf818caa2e86c5e1593a48da Signed-off-by: Roger Liao --- vibrator/Android.bp | 4 ++-- vibrator/android.hardware.vibrator@1.2-service.bonito.rc | 4 ++++ vibrator/android.hardware.vibrator@1.2-service.crosshatch.rc | 4 ---- vibrator/service.cpp | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 vibrator/android.hardware.vibrator@1.2-service.bonito.rc delete mode 100644 vibrator/android.hardware.vibrator@1.2-service.crosshatch.rc (limited to 'vibrator') diff --git a/vibrator/Android.bp b/vibrator/Android.bp index f95d5fdb..2462082a 100644 --- a/vibrator/Android.bp +++ b/vibrator/Android.bp @@ -13,9 +13,9 @@ // See the License for the specific language governing permissions and // limitations under the License. cc_binary { - name: "android.hardware.vibrator@1.2-service.crosshatch", + name: "android.hardware.vibrator@1.2-service.bonito", relative_install_path: "hw", - init_rc: ["android.hardware.vibrator@1.2-service.crosshatch.rc"], + init_rc: ["android.hardware.vibrator@1.2-service.bonito.rc"], srcs: ["service.cpp", "Vibrator.cpp"], cflags: ["-Wall", "-Werror"], shared_libs: [ diff --git a/vibrator/android.hardware.vibrator@1.2-service.bonito.rc b/vibrator/android.hardware.vibrator@1.2-service.bonito.rc new file mode 100644 index 00000000..b47bee88 --- /dev/null +++ b/vibrator/android.hardware.vibrator@1.2-service.bonito.rc @@ -0,0 +1,4 @@ +service vendor.vibrator-1-2 /vendor/bin/hw/android.hardware.vibrator@1.2-service.bonito + class hal + user system + group system diff --git a/vibrator/android.hardware.vibrator@1.2-service.crosshatch.rc b/vibrator/android.hardware.vibrator@1.2-service.crosshatch.rc deleted file mode 100644 index f94469a3..00000000 --- a/vibrator/android.hardware.vibrator@1.2-service.crosshatch.rc +++ /dev/null @@ -1,4 +0,0 @@ -service vendor.vibrator-1-2 /vendor/bin/hw/android.hardware.vibrator@1.2-service.crosshatch - class hal - user system - group system diff --git a/vibrator/service.cpp b/vibrator/service.cpp index 9696690e..953f75d9 100644 --- a/vibrator/service.cpp +++ b/vibrator/service.cpp @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#define LOG_TAG "android.hardware.vibrator@1.2-service.crosshatch" +#define LOG_TAG "android.hardware.vibrator@1.2-service.bonito" #include #include -- cgit v1.2.3