diff options
author | Sergei Kobec <s.kobec@samsung.com> | 2017-10-17 16:53:58 +0300 |
---|---|---|
committer | Sergei Kobec <s.kobec@samsung.com> | 2017-10-17 16:57:11 +0300 |
commit | c760c78210f8bde26266adb222490147af414ff3 (patch) | |
tree | 76c6dc4d77e48b9647cd43b230895cfc9e8f203a | |
parent | 5807ab83596143e770e310187b5e87a1be8cd637 (diff) | |
download | phone-contacts-c760c78210f8bde26266adb222490147af414ff3.tar.gz phone-contacts-c760c78210f8bde26266adb222490147af414ff3.tar.bz2 phone-contacts-c760c78210f8bde26266adb222490147af414ff3.zip |
Change app control keys in widget edit apptizen_4.0.m2_releasesubmit/tizen_4.0/20171018.072947
Change-Id: I9dded10cb0efdc1efd635a959d4f5b24002b214b
Signed-off-by: Sergei Kobec <s.kobec@samsung.com>
-rw-r--r-- | contacts-widget-edit-app/src/OperationDefaultController.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/contacts-widget-edit-app/src/OperationDefaultController.cpp b/contacts-widget-edit-app/src/OperationDefaultController.cpp index acac636..59f50c6 100644 --- a/contacts-widget-edit-app/src/OperationDefaultController.cpp +++ b/contacts-widget-edit-app/src/OperationDefaultController.cpp @@ -46,13 +46,10 @@ void OperationDefaultController::onRequest(const char *operation, app_control_h bundle *OperationDefaultController::parseRequest(app_control_h request) { - /* TODO: Use APP_CONTROL_DATA_WIDGET_CONTENT, APP_CONTROL_DATA_WIDGET_APP_ID and APP_CONTROL_DATA_WIDGET_INSTANCE_ID keys, - when http://suprem.sec.samsung.net/jira/browse/TNEXT-1388 will be resolved */ - - m_InstanceId = App::getStringExtraData(request, "instance_id"); - m_AppId = "org.tizen.w-contacts.widget"; + m_InstanceId = App::getStringExtraData(request, APP_CONTROL_DATA_WIDGET_INSTANCE_ID); + m_AppId = App::getStringExtraData(request, APP_CONTROL_DATA_WIDGET_APP_ID); char *serializedContent = nullptr; - app_control_get_extra_data(request, "content_info", &serializedContent); + app_control_get_extra_data(request, APP_CONTROL_DATA_WIDGET_CONTENT, &serializedContent); if (serializedContent) { bundle *content = bundle_decode((bundle_raw *) serializedContent, strlen(serializedContent)); |