display: Move get_brightness_by_light_sensor function from plugin to core display... 06/288906/8
authorYunhee Seo <yuni.seo@samsung.com>
Fri, 24 Feb 2023 02:31:19 +0000 (11:31 +0900)
committeryunhee <yuni.seo@samsung.com>
Mon, 20 Mar 2023 08:01:46 +0000 (17:01 +0900)
commitff7f3d7de57b852a9f6ff7e984d96ecd3ef15452
tree72628c0e222463253e5fc4ac995892717118d80b
parent8322b676d77cc254e1f6255989c9e5f4e187834c
display: Move get_brightness_by_light_sensor function from plugin to core display module

Remove and redefine get_brightness_by_light_sensor function.
This function is added to below display-backlight.

int display_backlight_get_brightness_by_light_sensor(float lmax, float lmin,
float light, int *brightness)
-> This function replaces get_brightness_by_light_sensor function located in plugins.

Change-Id: Ibe17d746276c2f2ca3ba7b233c88c259471aaebe
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
plugins/iot-headed/display/device-interface.c
plugins/mobile/display/device-interface.c
plugins/tv/display/device-interface.c
plugins/wearable/display/device-interface.c
src/display/auto-brightness.c
src/display/device-interface.h
src/display/display-backlight.c
src/display/display-backlight.h