projects
/
platform
/
core
/
security
/
ode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50c86df
)
Fix logical error for checking layout type
02/147302/2
author
s414kim
<s414.kim@samsung.com>
Mon, 4 Sep 2017 02:07:21 +0000
(11:07 +0900)
committer
s414kim
<s414.kim@samsung.com>
Tue, 5 Sep 2017 01:38:58 +0000
(10:38 +0900)
Change-Id: Icb721fa00c0fd9a70b2005e292eaa9992de72ae3
Signed-off-by: s414kim <s414.kim@samsung.com>
tools/apps/secure-erase/src/ui.c
patch
|
blob
|
history
diff --git
a/tools/apps/secure-erase/src/ui.c
b/tools/apps/secure-erase/src/ui.c
index
5a45275
..
29e1e83
100644
(file)
--- a/
tools/apps/secure-erase/src/ui.c
+++ b/
tools/apps/secure-erase/src/ui.c
@@
-54,11
+54,9
@@
static notification_h add_notification(notification_type_e type, const char *tit
}
}
- if (layout >= 0) {
- ret = notification_set_layout(handle, NOTIFICATION_LY_ONGOING_PROGRESS);
- if (ret != NOTIFICATION_ERROR_NONE) {
- return NULL;
- }
+ ret = notification_set_layout(handle, layout);
+ if (ret != NOTIFICATION_ERROR_NONE) {
+ return NULL;
}
return handle;