#include <stdlib.h>
#include <app_alarm.h>
#include <device/battery.h>
+#include <vconf.h>
#include "main.h"
#include "ft.h"
goto cleanup;
if (mode && type) {
+#ifdef VCONFKEY_STICKER_SUPPORTED_FEATURE
+ int feature_flag = 0;
+ 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 (feature_flag & VCONFKEY_STICKER_FEATURE_BITMOJI)
+ request_sticker_data(mode, "bitmoji", type);
+ } else
+ LOGW("Failed to get value of VCONFKEY_STICKER_SUPPORTED_FEATURE");
+#else
request_sticker_data(mode, "arsticker", type);
request_sticker_data(mode, "bitmoji", type);
+#endif
}
}
else if (strcmp(request, "oobe") == 0) {