When watch paused by viewer pause api, auto visibility
also changed unintentionally.
Change-Id: I9a5ce7188f7191c6fc9113a8d556e46304da9b8f
Signed-off-by: hyunho <hhstark.kang@samsung.com>
/* clear pre resume flag */
__pre_resume_called = 0;
- __context.watch_visibility = WVS_PAUSE;
/* Handling the ambient mode */
if (__context.ambient_mode)
__context.ambient_mode_skip_resume = 1;
static int __on_resume(void *data)
{
_W("_watch_core_resume");
-
- __context.watch_visibility = WVS_RESUME;
if (__context.viewer_visibility != AUL_SCREEN_STATUS_RESUME) {
_D("Viewer is paused, do not resume watch");
return APP_ERROR_NONE;