#define TEXT_DOMAIN "askuser-popup"
+#define COUNTER_LEN 26
+
void send_response(const char *response, app_data_s *ad) //TODO: change to enum?
{
elm_object_text_set(ad->label, __get_message(ad->caller_pkgid, (const char*)pd->privacy));
elm_atspi_accessible_name_set(ad->label, __get_message(ad->caller_pkgid, (const char*)pd->privacy));
if (!strcmp(ad->launch_type, "multi")) {
- char counter[10];
+ char counter[COUNTER_LEN];
int ret = sprintf(counter, "%d / %d", (ad->privacy_idx) + 1, ad->privacy_num);
LOGD("counter %s", counter);
elm_object_part_text_set(ad->layout, "elm.privilege_counter", counter);