summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2015-11-30 14:33:16 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-12-01 15:43:27 -0800
commitc96c137850e124f0db93a5b62dd7eb9821e28130 (patch)
treee53a136f3914287bf10908048d16322097ba277d
parent1a8d317ed023d33b19ff23ef35afdffa05e2717d (diff)
downloadsystem_core-c96c137850e124f0db93a5b62dd7eb9821e28130.zip
system_core-c96c137850e124f0db93a5b62dd7eb9821e28130.tar.gz
system_core-c96c137850e124f0db93a5b62dd7eb9821e28130.tar.bz2
Partially revert "healthd: allow custom charger"
* Don't allow custom charger code, prefer to use the existing STATIC_HAL_LIBS hook instead. * Continue to allow devices to replace charger resources, since it's just easier to deal with. This reverts commit 29f7779fdbccb5926a3f74d70c8721fa62e75a0c. Change-Id: I34289749c852dd92b7d07ddb3edeb3a1589a7330
-rw-r--r--healthd/Android.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/healthd/Android.mk b/healthd/Android.mk
index ce83b63..e5fffc0 100644
--- a/healthd/Android.mk
+++ b/healthd/Android.mk
@@ -13,15 +13,10 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
healthd.cpp \
healthd_mode_android.cpp \
+ healthd_mode_charger.cpp \
BatteryMonitor.cpp \
BatteryPropertiesRegistrar.cpp
-ifeq ($(strip $(BOARD_HEALTHD_CUSTOM_CHARGER)),)
- LOCAL_SRC_FILES += healthd_mode_charger.cpp
-else
- LOCAL_SRC_FILES += ../../../$(BOARD_HEALTHD_CUSTOM_CHARGER)
-endif
-
LOCAL_MODULE := healthd
LOCAL_MODULE_TAGS := optional
LOCAL_FORCE_STATIC_EXECUTABLE := true