From 8b9fefa4aa8c23c1f7e2feaa118e695b0abee727 Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Wed, 22 Apr 2020 15:46:10 +0900 Subject: [PATCH] Add charging threshold for get_aod_brightness() Change-Id: I740aa8b11b9f486ea00b77303cf379539bceecb9 Signed-off-by: Youngjae Cho (cherry picked from commit e73a15b7e745490c30da329ed2565a2b40e7ccee) --- hw/display.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/display.h b/hw/display.h index bf97823..8ec5c0c 100755 --- a/hw/display.h +++ b/hw/display.h @@ -88,7 +88,7 @@ struct display_device { int (*get_aod_mode)(enum display_aod_mode *mode); /* Control AOD brightness */ - int (*get_aod_brightness)(int *max, int *normal, int *min); + int (*get_aod_brightness)(int *max, int *normal, int *min, int *charging); /* Control display frame rate */ int (*get_max_frame_rate)(int *rate); -- 2.34.1