summaryrefslogtreecommitdiff
path: root/lib/ph-front/ph-front-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ph-front/ph-front-view.c')
-rwxr-xr-xlib/ph-front/ph-front-view.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ph-front/ph-front-view.c b/lib/ph-front/ph-front-view.c
index 7ae7bbd..31977e7 100755
--- a/lib/ph-front/ph-front-view.c
+++ b/lib/ph-front/ph-front-view.c
@@ -562,13 +562,16 @@ API int phone_front_view_show_call_app(ph_phoneui_data *phoneui_d)
service_set_operation(service, SERVICE_OPERATION_CALL);
service_set_uri(service, "tel:");
service_foreach_app_matched(service, front_view_call_app_check, (void *)&call_app_launched);
+ service_destroy(service);
- if (call_app_launched)
+ if (call_app_launched) {
return 1;
+ }
if (1 == aul_app_is_running(VIDEOCALL_PKG)) {
aul_open_app(VIDEOCALL_PKG);
return 1;
}
+
return 0;
}