e_policy_wl: send configured output resolution when failed to read base_output_resolution 55/227155/2
authorJunseok, Kim <juns.kim@samsung.com>
Tue, 10 Mar 2020 04:57:57 +0000 (13:57 +0900)
committerJunSeok Kim <juns.kim@samsung.com>
Tue, 10 Mar 2020 12:37:15 +0000 (12:37 +0000)
Change-Id: I1f580f3bb7324c2a8d68b88a7986021353cd41d3

src/bin/e_policy_wl.c

index bab4a6942d6b05566b04aa3339c5700e21a0b3f2..9c31a2aa47a6ca932aeea3606bcad2a38abae624 100644 (file)
@@ -6841,10 +6841,9 @@ _tzlaunch_appinfo_iface_cb_get_base_output_resolution(struct wl_client *client,
    return;
 
 err:
-   if (!e_comp_wl_pid_output_configured_resolution_get(pid, &width, &height))
-     ELOGF("TZ_APPINFO", "ERROR failed to get Output base_output_resolution send size(%d, %d) : pid(%u)", NULL, width, height, pid);
-   else
-     ELOGF("TZ_APPINFO", "send Output base_output_resolution size(%d, %d) : pid(%u)", NULL, width, height, pid);
+   width = e_config->configured_output_resolution.w;
+   height = e_config->configured_output_resolution.h;
+   ELOGF("TZ_APPINFO", "send Output base_output_resolution size(%d, %d) : pid(%u)", NULL, width, height, pid);
    tizen_launch_appinfo_send_base_output_resolution_done(res_tzlaunch_appinfo, pid, width, height);
 
    return;