Fix bug about background launch 94/120694/1
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 24 Mar 2017 01:05:27 +0000 (10:05 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 24 Mar 2017 01:05:27 +0000 (10:05 +0900)
When getting the resume request, the background state should be
released.

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

index ff6a0ee..518cfa4 100644 (file)
@@ -378,6 +378,8 @@ static void __do_app(enum app_event event, void *data, bundle * b)
        }
 
        if (event == AE_RAISE) {
+               if (bg_state)
+                       __unset_bg_state();
                wl_raise_win();
                return;
        }
index 40919f0..7c4c63c 100644 (file)
@@ -465,6 +465,8 @@ EXPORT_API int appcore_ui_base_on_receive(aul_type type, bundle *b)
                __do_start(b);
                break;
        case AUL_RESUME:
+               if (bg_state)
+                       __unset_bg_state();
                __raise_win();
                break;
        case AUL_TERMINATE: