//TIZEN_ONLY(20160330): add processing properties of window
#define SWAP(x, y, t) ((t) = (x), (x) = (y), (y) = (t))
//
+//TIZEN_ONLY(20170817) : Prevent infinite trial of connection to the indicator server
+#define CONNECT_TRY_MAX (3)
+//END
static char CONFORMANT_KEY[] = "_elm_conform_key";
ELM_CONFORMANT_DATA_GET(data, sd);
if (!sd) return ECORE_CALLBACK_CANCEL;
+
+ //TIZEN_ONLY(20170817) : Prevent infinite trial of connection to the indicator server
+ if(++sd->connect_try > CONNECT_TRY_MAX)
+ {
+ DBG("Conformant tried to connect to indicator %d times but give up now", CONNECT_TRY_MAX);
+ sd->indi_timer = NULL;
+ return ECORE_CALLBACK_CANCEL;
+ }
+ //END
+
if (sd->indmode != ELM_WIN_INDICATOR_SHOW)
{
sd->indi_timer = NULL;
evas_object_size_hint_min_set(indicator, -1, 0);
evas_object_size_hint_max_set(indicator, -1, 0);
+ //TIZEN_ONLY(20170817) : Prevent infinite trial of connection to the indicator server
+ sd->connect_try = 1;
+ //END
return indicator;
}
//END