e_policy_wl: send configured output resolution when failed to read base_output_resolution 48/227148/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:36:18 +0000 (21:36 +0900)
Change-Id: I1f580f3bb7324c2a8d68b88a7986021353cd41d3

src/bin/e_policy_wl.c

index 25d8efbbaf5c5a32f593b35e75b3053837ec3f9e..832aaf8d662bf9b1ced6c77804c01209fd469619 100644 (file)
@@ -6823,10 +6823,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;