Fix display plugin load error 64/227764/1
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 16 Mar 2020 08:00:18 +0000 (17:00 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 16 Mar 2020 08:00:18 +0000 (17:00 +0900)
Add dummy is_display_detached() for mobile, iot, tv to resolve undefined
symbol error.

Change-Id: I4ed5eb1565a5afff119e9d7c40a2b385744ad92c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
plugins/iot/display/device-interface.c
plugins/mobile/display/device-interface.c
plugins/tv/display/device-interface.c

index 4064ee2..e62dc49 100644 (file)
@@ -1001,6 +1001,12 @@ static int vital_state_changed(void *data)
        return 0;
 }
 
+/* Dummy. Do not consider detached display state */
+bool is_display_detached(void)
+{
+       return false;
+}
+
 int init_sysfs(unsigned int flags)
 {
        _init_ops();
index 4064ee2..e62dc49 100644 (file)
@@ -1001,6 +1001,12 @@ static int vital_state_changed(void *data)
        return 0;
 }
 
+/* Dummy. Do not consider detached display state */
+bool is_display_detached(void)
+{
+       return false;
+}
+
 int init_sysfs(unsigned int flags)
 {
        _init_ops();
index 4064ee2..e62dc49 100644 (file)
@@ -1001,6 +1001,12 @@ static int vital_state_changed(void *data)
        return 0;
 }
 
+/* Dummy. Do not consider detached display state */
+bool is_display_detached(void)
+{
+       return false;
+}
+
 int init_sysfs(unsigned int flags)
 {
        _init_ops();