#git:framework/web/wrt
Name: wrt
Summary: web runtime
-Version: 0.8.232
+Version: 0.8.233
Release: 1
Group: Development/Libraries
License: Apache License, Version 2.0
Assert(wkView);
ewk_view_resume(wkView);
+ ewk_view_foreground_set(wkView, true);
return;
}
Assert(wkView);
ewk_view_suspend(wkView);
+ ewk_view_foreground_set(wkView, false);
return;
}
Evas_Object* /*obj*/,
void* /*eventInfo*/)
{
- //LogInfo("enter");
+ static bool logEnable = (getenv("WRT_FRAME_RENDERED_LOG_ENABLE") != NULL);
+
+ if (logEnable)
+ {
+ LogInfo("enter");
+ }
}
void ViewLogic::mediacontrolRotateHorizontal(void* data,
goto err_set_app_smack_label;
}
- strncpy(s_smack_label, smack_label, sizeof(s_smack_label));
+ if (smack_label)
+ {
+ strncpy(s_smack_label, smack_label, sizeof(s_smack_label));
+ s_smack_label[SMACK_LABEL_LEN] = '\0';
+
+ free(smack_label);
+ smack_label = NULL;
+ }
+ else
+ {
+ LogError("## smack_label is NULL! ##");
+ strcpy(s_smack_label, "");
+ }
if (send_SIGUSR1_to_threads() != 0)
{
// TODO call RunnableWidgetObject API regarding low memory
// The API should be implemented
+ // temporary solution because we have no way to get ewk_context from runnable object.
+ if (s_preparedEwkContext)
+ {
+ ewk_context_cache_clear(s_preparedEwkContext);
+ ewk_context_notify_low_memory(s_preparedEwkContext);
+ }
+
return 0;
}
#export WRT_PROCESS_POOL_DISABLE=ON
#export WRT_WILL_SEND_REQUEST_LOG_ENABLE=ON
#export WRT_LOAD_PLUGINS_LOG_ENABLE=ON
+#export WRT_FRAME_RENDERED_LOG_ENABLE=ON