diff options
author | hyunho <hhstark.kang@samsung.com> | 2017-12-18 16:03:10 +0900 |
---|---|---|
committer | hyunho <hhstark.kang@samsung.com> | 2017-12-18 16:03:10 +0900 |
commit | 19c78a2e39eb00cd39fd25834083f2151071a1a2 (patch) | |
tree | 36315dfd6a6d43bddb70559d5585613c8d4ee4d1 /src | |
parent | d15ec1b4abf0ef7c4fb403ae2278dfc68f2bae71 (diff) | |
download | appcore-watch-19c78a2e39eb00cd39fd25834083f2151071a1a2.tar.gz appcore-watch-19c78a2e39eb00cd39fd25834083f2151071a1a2.tar.bz2 appcore-watch-19c78a2e39eb00cd39fd25834083f2151071a1a2.zip |
Fix auto visibility bug
When watch paused by viewer pause api, auto visibility
also changed unintentionally.
Change-Id: I9a5ce7188f7191c6fc9113a8d556e46304da9b8f
Signed-off-by: hyunho <hhstark.kang@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/watch_app_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/watch_app_main.c b/src/watch_app_main.c index 86f6adb..a295cfa 100755 --- a/src/watch_app_main.c +++ b/src/watch_app_main.c @@ -574,7 +574,6 @@ static int __on_pause(void *data) /* 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; @@ -617,8 +616,6 @@ static void __on_pre_resume(void *data) 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; |