if (vconf_get_int(VCONFKEY_STICKER_SUPPORTED_FEATURE, &feature_flag) == 0)
{
if (feature_flag & VCONFKEY_STICKER_FEATURE_AREMOJI)
- request_sticker_data(mode, "arsticker", type);
+ if (!request_sticker_data(mode, "arsticker", type))
+ LOGW("Failed to request ar_sticker sync");
if (feature_flag & VCONFKEY_STICKER_FEATURE_BITMOJI)
- request_sticker_data(mode, "bitmoji", type);
+ if (!request_sticker_data(mode, "bitmoji", type))
+ LOGW("Failed to request bitmoji sync");
}
else
LOGW("Failed to get value of VCONFKEY_STICKER_SUPPORTED_FEATURE");
json_msgid = json_object_get_string_member(root_obj, "msgId");
msg_id = string(json_msgid ? json_msgid : "");
if (msg_id == STICKER_REQUEST_SYNC_REQ) {
- if (!request_sticker_data(current_request.mode.c_str(), current_request.category.c_str(), current_request.type.c_str()))
- LOGW("Failed to request sticker sync");
+ request_all_sticker_data("auto", "input");
} else if (msg_id == STICKER_SYNC_FEATURE_RSP) {
LOGD("msg : %s", msg_id.c_str());
#ifdef VCONFKEY_STICKER_SUPPORTED_FEATURE