{
if (data) {
oauth2_manager_s *mgr_handle = (oauth2_manager_s *)data;
+
+ if (ewk_view_back_possible(mgr_handle->ewk_view)) {
+ OAUTH2_LOG_I("on_web_url_page_back");
+ ewk_view_back(mgr_handle->ewk_view);
+ return;
+ }
__convert_tizen_error_to_oauth_error(
OAUTH2_ERROR_USER_CANCELLED,
"User cancelled the operation",
{
if (data) {
oauth2_manager_s *mgr_handle = (oauth2_manager_s *)data;
- evas_object_hide(mgr_handle->ewk_view);
- evas_object_hide(mgr_handle->login_win);
+ OAUTH2_LOG_I("__exit_back_cb is_active=%d", mgr_handle->is_active);
+ if (mgr_handle->is_active == FALSE) {
+ evas_object_hide(mgr_handle->ewk_view);
+ evas_object_hide(mgr_handle->login_win);
+ }
}
}