power: Allow device specific hooks for set_interactive
* Some devices may want to implement custom hooks
Change-Id: I9be8023c8134b3c262f27b43a28bec0e14c0fd7f
diff --git a/Android.mk b/Android.mk
index 7445d14..cbc4f09 100644
--- a/Android.mk
+++ b/Android.mk
@@ -77,6 +77,11 @@
LOCAL_SRC_FILES += power-msmnile.c
endif
+ifneq ($(TARGET_POWERHAL_SET_INTERACTIVE_EXT),)
+ LOCAL_CFLAGS += -DSET_INTERACTIVE_EXT
+ LOCAL_SRC_FILES += ../../../../$(TARGET_POWERHAL_SET_INTERACTIVE_EXT)
+endif
+
ifneq ($(TARGET_TAP_TO_WAKE_NODE),)
LOCAL_CFLAGS += -DTAP_TO_WAKE_NODE=\"$(TARGET_TAP_TO_WAKE_NODE)\"
endif