When appcontrol do not have setup related inforamtion, it means
editing is false and check logic is successfully completed.
Change-Id: Iaaa44b9c7ebcaa29101cc071ddb93c1f9d162042
Signed-off-by: hyunho <hhstark.kang@samsung.com>
if (ret == APP_CONTROL_ERROR_OUT_OF_MEMORY) {
LOGE("Out of memory");
return WATCHFACE_COMPLICATION_ERROR_OUT_OF_MEMORY;
+ } else if (ret == APP_CONTROL_ERROR_KEY_NOT_FOUND) {
+ *is_editing = false;
+ return WATCHFACE_COMPLICATION_ERROR_NONE;
}
LOGE("Fail to get setup editor appid (%d)", ret);
return WATCHFACE_COMPLICATION_ERROR_INVALID_PARAMETER;