Fix how to determine HW/SW bezel 77/236777/1
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 22 Jun 2020 02:12:32 +0000 (11:12 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 22 Jun 2020 05:20:33 +0000 (05:20 +0000)
commit536c5a920d8836c408542b2b3d4be42011756d8f
treeaf7cfb95c1aeb4d00fbf89662708891124799293
parenta15a4c6849b17baaaf6719f9cf7ad3e06c5cac29
Fix how to determine HW/SW bezel

HW/SW bezel cannot be distinguished each other by checking existance
of get_state/get_sw_state function, as those are defined for all target.
Fixed it to call the function and check the return value.

Change-Id: I1a296c9682e5dcf3e0393f804f532283406a7007
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit dedebfceef94e0cac2ffe9998c4744e78bde9176)
plugins/wearable/display/bezel.c