summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2020-01-09 13:13:13 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2020-01-09 13:13:13 +0900
commitd23070f84c79905768f955c9cba3997f3364cb21 (patch)
tree7cf2d0b937552f753e99c169d92b0f8e51495368
parentf60091e7d7cef681ae27e6242c2f12937a6239b5 (diff)
downloadapp-core-d23070f84c79905768f955c9cba3997f3364cb21.tar.gz
app-core-d23070f84c79905768f955c9cba3997f3364cb21.tar.bz2
app-core-d23070f84c79905768f955c9cba3997f3364cb21.zip
Set state while getting termination request
While getting termination request, appcore-ui sets the state to STATUS_DYING. After the state is set, the OnAppControl() is not invoked. Change-Id: I3df490e5f0432c3109542001c50bb50dbd74826c Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r--src/ui_base/appcore_ui_base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui_base/appcore_ui_base.c b/src/ui_base/appcore_ui_base.c
index 22de1ee..8842a1b 100644
--- a/src/ui_base/appcore_ui_base.c
+++ b/src/ui_base/appcore_ui_base.c
@@ -659,6 +659,7 @@ EXPORT_API int appcore_ui_base_on_receive(aul_type type, bundle *b)
__raise_win();
break;
case AUL_TERMINATE:
+ __context.state = AS_DYING;
break;
case AUL_TERMINATE_BG_INST:
case AUL_TERMINATE_INST: