projects
/
platform
/
core
/
appfw
/
component-based-application.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f3120
)
Check if bundle data is null
83/211383/2
author
Inkyun Kil
<inkyun.kil@samsung.com>
Fri, 2 Aug 2019 07:29:02 +0000
(16:29 +0900)
committer
Inkyun Kil
<inkyun.kil@samsung.com>
Fri, 2 Aug 2019 08:37:08 +0000
(17:37 +0900)
Change-Id: I861661005a03a1f7f4f1e95d928e007026978a2c
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
component_based/base/application_base.cc
patch
|
blob
|
history
diff --git
a/component_based/base/application_base.cc
b/component_based/base/application_base.cc
index b1ed73ae8f9be76eb2e7c3823ccc39ea0d2f0e25..8c8def525d364e8a2b4e8ee080c8f09b41e9ba62 100644
(file)
--- a/
component_based/base/application_base.cc
+++ b/
component_based/base/application_base.cc
@@
-96,8
+96,11
@@
void ApplicationBase::Impl::OnBaseTerminate() {
}
void ApplicationBase::Impl::OnBaseReceive(aul_type type, bundle* b) {
- LOGD("");
- tizen_base::Bundle data(b);
+ LOGD("type : %d", type);
+
+ tizen_base::Bundle data;
+ if (b)
+ data = std::move(tizen_base::Bundle(b));
std::string comp_id = data.GetString(AUL_K_COMPONENT_ID);
std::string inst_id = data.GetString(AUL_K_INSTANCE_ID);
std::string rpc_port;