diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2017-07-10 09:28:15 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2017-07-10 09:29:22 +0900 |
commit | 6f83d5aa9c811f86a01514fbb9f0735ae0139d2d (patch) | |
tree | 3282612e4406076b05280558b0542c99d3b8fb49 | |
parent | 670919e59c018eabfcab261bd5093a1fa13c8a4e (diff) | |
download | appcore-watch-6f83d5aa9c811f86a01514fbb9f0735ae0139d2d.tar.gz appcore-watch-6f83d5aa9c811f86a01514fbb9f0735ae0139d2d.tar.bz2 appcore-watch-6f83d5aa9c811f86a01514fbb9f0735ae0139d2d.zip |
Fix initial viewer visibility valuesubmit/tizen_3.0/20170710.030011accepted/tizen/3.0/wearable/20170710.223318accepted/tizen/3.0/tv/20170710.223306accepted/tizen/3.0/mobile/20170710.223253accepted/tizen/3.0/ivi/20170710.223331accepted/tizen/3.0/common/20170711.101535
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>
-rwxr-xr-x | src/appcore-watch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appcore-watch.c b/src/appcore-watch.c index 1f9301f..9bcc6be 100755 --- a/src/appcore-watch.c +++ b/src/appcore-watch.c @@ -401,7 +401,7 @@ static int __set_data(struct watch_priv *watch, const char *appid, watch->appid = strdup(appid); watch->name = __get_domain_name(appid); watch->pid = getpid(); - watch->viewer_visibility = -1; + watch->viewer_visibility = AUL_SCREEN_STATUS_RESUME; watch->watch_visibility = WVS_UNKNOWN; return 0; |