widget_instance_resize(mInstanceId.c_str(), mWidth, mHeight);
mResizeRequired = false;
}
+
+ // Call Resume/Pause for reloading
+ bool needPaused = IsOutOfScreen();
+ if( mWindowVisible )
+ {
+ if( !needPaused)
+ {
+ ResumeWidgetInternally();
+ }
+ }
+ else
+ {
+ PauseWidgetInternally();
+ }
break;
}
case WIDGET_INSTANCE_EVENT_UPDATE:
DALI_LOG_INFO( gWidgetViewLogging, Debug::Verbose, "WidgetView::ActivateFaultedWidget: widget_instance_launch is failed. [%s]\n", mWidgetId.c_str() );
ActivateFaultedWidget();
}
- mPausedManually = false;
- bool needPaused = IsOutOfScreen();
- if( mWindowVisible )
- {
- if( !needPaused)
- {
- ResumeWidgetInternally();
- }
- }
- else
- {
- PauseWidgetInternally();
- }
}
}