From cc73f28739a4949e278ee457609566912c49d3b0 Mon Sep 17 00:00:00 2001 From: "Junseok, Kim" Date: Tue, 10 Mar 2020 13:57:57 +0900 Subject: [PATCH] e_policy_wl: send configured output resolution when failed to read base_output_resolution Change-Id: I1f580f3bb7324c2a8d68b88a7986021353cd41d3 --- src/bin/e_policy_wl.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/bin/e_policy_wl.c b/src/bin/e_policy_wl.c index bab4a6942d..9c31a2aa47 100644 --- a/src/bin/e_policy_wl.c +++ b/src/bin/e_policy_wl.c @@ -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; -- 2.34.1