Modify the operation of app control for prediction hint 89/141489/1
authorsungwook79.park <sungwook79.park@samsung.com>
Tue, 1 Aug 2017 00:41:13 +0000 (09:41 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Tue, 1 Aug 2017 00:41:13 +0000 (09:41 +0900)
Change-Id: I2bbc82e6aae5d37a2339bf7e294c6880af5ff989
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/w-input-smartreply.cpp

index aae5a0e..3a0624a 100644 (file)
@@ -147,10 +147,10 @@ bool input_smartreply_init(app_control_h app_control)
        */
 
        ret = app_control_get_extra_data(app_control,
-                       "template_context", &message);
+                       APP_CONTROL_DATA_INPUT_PREDICTION_HINT, &message);
 
        if (ret != APP_CONTROL_ERROR_NONE) {
-               PRINTFUNC(DLOG_WARN, "Can not get template_context %d", ret);
+               PRINTFUNC(DLOG_WARN, "Can not get APP_CONTROL_DATA_INPUT_PREDICTION_HINT %d", ret);
                return false;
        }