display: plugin: Add handling code to plugin getter/setter 94/293794/1
authorYunhee Seo <yuni.seo@samsung.com>
Fri, 2 Jun 2023 10:58:25 +0000 (19:58 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 5 Jun 2023 06:29:06 +0000 (15:29 +0900)
commit566c83fbca17cb072ba7952488a5475f28d09171
treee08f4432bfa95664faeb01669001d9293253b272
parent508c57787d7b87587fe87aa28fa4530bbff4d775
display: plugin: Add handling code to plugin getter/setter

display_plugin_state_get_name() is changed to set NULL,
if there is no state name.
State timeout value can be 0, but getter/setter checks not proper value.
If the timeout value is 0, it should returned.

This patch is necessary because the value is not properly checked.

Change-Id: Ie053c1c31a1f2b70e9f0ce6790c3fa41eea603e8
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/display/display-plugin.c