diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2020-01-09 13:13:13 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2020-01-09 13:13:13 +0900 |
commit | d23070f84c79905768f955c9cba3997f3364cb21 (patch) | |
tree | 7cf2d0b937552f753e99c169d92b0f8e51495368 | |
parent | f60091e7d7cef681ae27e6242c2f12937a6239b5 (diff) | |
download | app-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.c | 1 |
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: |