projects
/
platform
/
core
/
appfw
/
app-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f60091e
)
Set state while getting termination request
98/221998/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 9 Jan 2020 04:13:13 +0000
(13:13 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 9 Jan 2020 04:13:13 +0000
(13:13 +0900)
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>
src/ui_base/appcore_ui_base.c
patch
|
blob
|
history
diff --git
a/src/ui_base/appcore_ui_base.c
b/src/ui_base/appcore_ui_base.c
index
22de1ee
..
8842a1b
100644
(file)
--- 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: