summaryrefslogtreecommitdiffstats
path: root/healthd
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2015-11-30 14:36:05 -0800
committerEthan Chen <intervigil@gmail.com>2015-11-30 14:36:12 -0800
commit78c2848f1f648de3b42fc05da8508090c117c2aa (patch)
treeafb0169f83001a82daec3688ebfaaac706665d5c /healthd
parent1705d1c2d3dd359140effd6cd81e8f45a877ae2e (diff)
downloadsystem_core-78c2848f1f648de3b42fc05da8508090c117c2aa.zip
system_core-78c2848f1f648de3b42fc05da8508090c117c2aa.tar.gz
system_core-78c2848f1f648de3b42fc05da8508090c117c2aa.tar.bz2
healthd: Call common backlight function
Change-Id: I0cb5a3269cc47f1ddfd7e9e641fcc9405cb97872
Diffstat (limited to 'healthd')
-rw-r--r--healthd/healthd_mode_charger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/healthd/healthd_mode_charger.cpp b/healthd/healthd_mode_charger.cpp
index 8566e9b..bd609db 100644
--- a/healthd/healthd_mode_charger.cpp
+++ b/healthd/healthd_mode_charger.cpp
@@ -608,7 +608,7 @@ static void process_key(struct charger *charger, int code, int64_t now)
accordingly. */
if (property_get_bool("ro.enable_boot_charger_mode", false)) {
LOGW("[%" PRId64 "] booting from charger mode\n", now);
- set_backlight(false);
+ healthd_board_mode_set_backlight(false);
gr_fb_blank(true);
property_set("sys.boot_from_charger_mode", "1");
} else {