Fix bug about background launch 97/120697/1 accepted/tizen/3.0/common/20170324.141829 accepted/tizen/3.0/ivi/20170324.053945 accepted/tizen/3.0/mobile/20170324.053932 accepted/tizen/3.0/tv/20170324.053937 accepted/tizen/3.0/wearable/20170324.053941 submit/tizen_3.0/20170324.020851
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 24 Mar 2017 01:18:31 +0000 (10:18 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 24 Mar 2017 01:18:31 +0000 (10:18 +0900)
When getting the resume request, the background state should be
released.

Change-Id: I64f5221481cbfecc5ba1b579daee0f604c4bea34
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/appcore-efl.c

index ac3908697350dbc553984feabe345d3aab7a772e..e98b32bd76bd61b601a59d2e48f26f5489e195bd 100644 (file)
@@ -398,6 +398,8 @@ static void __do_app(enum app_event event, void *data, bundle * b)
        }
 
        if (event == AE_RAISE) {
+               if (bg_state)
+                       __unset_bg_state();
 #if defined(X11)
                x_raise_win(getpid());
 #elif defined(WAYLAND)