If the viewer doesn't manage the watch visibility manullay,
the watch-application cannot go to resume state when the application is paused.
Because, the viewer_visibility value is the unknown value.
This patch is to fix the initial value.
Change-Id: I1b265cca0e63aae402e9a4ad4ab0bc58f8b3949b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
__context.callback = *callback;
__context.width = width;
__context.height = height;
- __context.viewer_visibility = -1;
+ __context.viewer_visibility = AUL_SCREEN_STATUS_RESUME;
__context.watch_visibility = WVS_UNKNOWN;
__context.ambient_mode = false;
__context.ambient_mode_skip_resume = false;