display: Add display attribute representing current state 07/297107/2
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 9 Aug 2023 11:22:00 +0000 (20:22 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 14 Aug 2023 04:17:37 +0000 (13:17 +0900)
commitc9dccb1b66ac7c75cd83a9942d348d97afdd24a4
tree64ef54e973f0a52109f0bf7dd08babfc39633e6e
parent2de8552aba4c31b37650a186aac76bc910b64884
display: Add display attribute representing current state

New attribute:
 - id: DEVICED_DISPLAY_ATTR_INT_GET_CURRENT_STATE
 - type: SYSCOMMON_RESMAN_DATA_TYPE_INT
 - setter: X
 - getter: O

Plugins and other core modules has replaced get_pm_cur_state()
with resource-manager API that accessing the attribute.

Change-Id: Iacb01f00c6909f313d32575f424646a8b4de3a96
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
plugins/iot-headed/display/key-filter.c
plugins/mobile/display/key-filter.c
plugins/tv/display/key-filter.c
src/display/resource-display.c