summaryrefslogtreecommitdiff
path: root/lib-common/src/ContactsAppControl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib-common/src/ContactsAppControl.cpp')
-rw-r--r--lib-common/src/ContactsAppControl.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib-common/src/ContactsAppControl.cpp b/lib-common/src/ContactsAppControl.cpp
index 6d9897e..be940ae 100644
--- a/lib-common/src/ContactsAppControl.cpp
+++ b/lib-common/src/ContactsAppControl.cpp
@@ -75,8 +75,7 @@ int launchContactEdit(int personId, const char *number)
}
int launchContactPick(const char *selectionMode, const char *resultType,
- app_control_reply_cb replyCallback, void *userData,
- bool groupMode, app_control_h *appControl)
+ app_control_reply_cb replyCallback, void *userData, bool groupMode)
{
if (!selectionMode || !resultType) {
return APP_CONTROL_ERROR_INVALID_PARAMETER;
@@ -95,11 +94,7 @@ int launchContactPick(const char *selectionMode, const char *resultType,
}
int result = app_control_send_launch_request(request, replyCallback, userData);
- if (appControl) {
- *appControl = request;
- } else {
- app_control_destroy(request);
- }
+ app_control_destroy(request);
return result;
}