power: Add -qti suffix to module name

* Prevent conflict with other HALs

Change-Id: Icf1216410db26c3bb811d7aedde03e6d2f87e3cc
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
This commit is contained in:
Michael Bestas
2019-09-29 21:06:22 +03:00
parent da9c55ae81
commit 9df9caa266
4 changed files with 5 additions and 5 deletions

View File

@@ -81,8 +81,8 @@ ifeq ($(TARGET_USES_INTERACTION_BOOST),true)
LOCAL_CFLAGS += -DINTERACTION_BOOST
endif
LOCAL_MODULE := android.hardware.power-service
LOCAL_INIT_RC := android.hardware.power-service.rc
LOCAL_MODULE := android.hardware.power-service-qti
LOCAL_INIT_RC := android.hardware.power-service-qti.rc
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-variable
LOCAL_VENDOR_MODULE := true

View File

@@ -31,7 +31,7 @@
* SPDX-License-Identifier: BSD-3-Clause-Clear
*/
#define LOG_TAG "QTI PowerHAL"
#define LOG_TAG "android.hardware.power-service-qti"
#include "Power.h"
#include "PowerHintSession.h"

View File

@@ -1,4 +1,4 @@
service vendor.power /vendor/bin/hw/android.hardware.power-service
service vendor.power /vendor/bin/hw/android.hardware.power-service-qti
class hal
user system
group system

View File

@@ -1,5 +1,5 @@
#Power product definitions
PRODUCT_PACKAGES += android.hardware.power-service
PRODUCT_PACKAGES += android.hardware.power-service-qti
PRODUCT_PACKAGES += android.hardware.power-impl
#Powerhint File