e_policy_wl: send configured output resolution when failed to read base_output_resolution 49/227149/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:05 +0000 (12:37 +0000)
Change-Id: I1f580f3bb7324c2a8d68b88a7986021353cd41d3

src/bin/e_policy_wl.c

index bdb37746ced9e3d8c90d747df8d9af08ba986510..a1ac00099d3a8e9f9516c3473d1a2f38e320931a 100644 (file)
@@ -6788,10 +6788,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;