This patch fixes sound player flickering issue TSIX-6495 18/244618/1 tizen_6.0 tizen_6.0_hotfix tizen_6.5 submit/tizen/20200922.110136 submit/tizen_6.0/20201029.205505 submit/tizen_6.0_hotfix/20201102.192905 submit/tizen_6.0_hotfix/20201103.115105 submit/tizen_6.5/20211028.164201 submit/tizen_6.5/20211029.123901 tizen_6.0_src.m2_release tizen_6.5_src.m2_release
authorJagrat Patidar <j1.patidar@samsung.com>
Tue, 22 Sep 2020 10:36:29 +0000 (16:06 +0530)
committerJagrat Patidar <j1.patidar@samsung.com>
Tue, 22 Sep 2020 10:36:29 +0000 (16:06 +0530)
Change-Id: I597f812614db101dcc8e08d3aa90ad927af1eedc

src/mp-main.c

index 4d5ede4..c8f1bda 100755 (executable)
@@ -1056,7 +1056,8 @@ _mp_main_parse_service(struct appdata *ad, app_control_h app_control,
                ad->disable_detail_view = false;
        }
 
-       if (!app_control_get_extra_data(app_control, APP_EXIT_STATUS, &value)) {
+       int check = app_control_get_extra_data(app_control, APP_EXIT_STATUS, &value);
+       if (!check || check == APP_CONTROL_ERROR_KEY_NOT_FOUND) {
                DEBUG_TRACE("Application Exit Status is %s", value);
                ad->exit_status = false;
        } else {