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:
671d50b
)
Modify base_frame_create_window API validation
83/212383/1
author
hyunho
<hhstark.kang@samsung.com>
Wed, 21 Aug 2019 02:30:53 +0000
(11:30 +0900)
committer
hyunho
<hhstark.kang@samsung.com>
Wed, 21 Aug 2019 02:32:34 +0000
(11:32 +0900)
Some frame components do not want to share it's raw handle.
ex) C# frame components
Change-Id: I2624ea0e98a13cd6b1dab0e4d47629579b06a233
Signed-off-by: hyunho <hhstark.kang@samsung.com>
component_based/base/stub.cc
patch
|
blob
|
history
diff --git
a/component_based/base/stub.cc
b/component_based/base/stub.cc
index 8e2690a48a4c5f51dffcf6a1699752d8a2a3937e..78ce7fb8433cabcb80579891162f2239b974d6d7 100644
(file)
--- a/
component_based/base/stub.cc
+++ b/
component_based/base/stub.cc
@@
-508,7
+508,7
@@
class StubServiceComponent : public component_based::ServiceComponent {
extern "C" EXPORT_API int base_frame_create_window(frame_window_h* handle,
int id, void* raw) {
- if (handle == nullptr
|| raw == nullptr
) {
+ if (handle == nullptr) {
LOGE("Invalid parameter");
return COMPONENT_ERROR_INVALID_PARAMETER;
}