summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2019-09-29 21:06:22 +0300
committerMichael Bestas <mkbestas@lineageos.org>2019-10-23 01:12:56 +0300
commit434acc2ab4bab9d2407e5167be1dc2c22bfead0f (patch)
tree9157caf4c90f46cc5d32739e76530f91ac48dcc6
parent4e16643aba888a1cff432643aa2e22eeb93605b8 (diff)
downloadvendor_qcom_opensource_power-434acc2ab4bab9d2407e5167be1dc2c22bfead0f.zip
vendor_qcom_opensource_power-434acc2ab4bab9d2407e5167be1dc2c22bfead0f.tar.gz
vendor_qcom_opensource_power-434acc2ab4bab9d2407e5167be1dc2c22bfead0f.tar.bz2
power: Add -qti suffix to module name
* Prevent conflict with other HALs Change-Id: Icf1216410db26c3bb811d7aedde03e6d2f87e3cc
-rw-r--r--Android.mk4
-rw-r--r--Power.cpp2
-rw-r--r--android.hardware.power@1.2-service-qti.rc (renamed from android.hardware.power@1.2-service.rc)2
-rw-r--r--service.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk
index 76c5102..015db2a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -107,8 +107,8 @@ ifeq ($(TARGET_USES_INTERACTION_BOOST),true)
LOCAL_CFLAGS += -DINTERACTION_BOOST
endif
-LOCAL_MODULE := android.hardware.power@1.2-service
-LOCAL_INIT_RC := android.hardware.power@1.2-service.rc
+LOCAL_MODULE := android.hardware.power@1.2-service-qti
+LOCAL_INIT_RC := android.hardware.power@1.2-service-qti.rc
LOCAL_MODULE_TAGS := optional
LOCAL_VENDOR_MODULE := true
include $(BUILD_EXECUTABLE)
diff --git a/Power.cpp b/Power.cpp
index 2caeaca..567066a 100644
--- a/Power.cpp
+++ b/Power.cpp
@@ -27,7 +27,7 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#define LOG_TAG "QTI PowerHAL"
+#define LOG_TAG "android.hardware.power@1.2-service-qti"
#include <android-base/file.h>
#include <log/log.h>
diff --git a/android.hardware.power@1.2-service.rc b/android.hardware.power@1.2-service-qti.rc
index 8a1c347..0816c21 100644
--- a/android.hardware.power@1.2-service.rc
+++ b/android.hardware.power@1.2-service-qti.rc
@@ -1,4 +1,4 @@
-service vendor.power-hal-1-2 /vendor/bin/hw/android.hardware.power@1.2-service
+service vendor.power-hal-1-2 /vendor/bin/hw/android.hardware.power@1.2-service-qti
class hal
user system
group system
diff --git a/service.cpp b/service.cpp
index 7aed48b..f36141e 100644
--- a/service.cpp
+++ b/service.cpp
@@ -27,7 +27,7 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#define LOG_TAG "android.hardware.power@1.2-service"
+#define LOG_TAG "android.hardware.power@1.2-service-qti"
#include <log/log.h>
#include <hidl/HidlTransportSupport.h>