projects
/
platform
/
core
/
appfw
/
amd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1497bd0
)
Change return value when app is blocking status
76/312076/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 4 Jun 2024 04:34:04 +0000
(13:34 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 4 Jun 2024 04:34:04 +0000
(13:34 +0900)
The implementation of CheckExecutable method changes the value that
returned -ENOENT to -EREJECTED.
Change-Id: Ibb4d999c62f553751b94d38c803328f8f6b46595
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/launch/step_prepare_starting_app.cc
patch
|
blob
|
history
diff --git
a/src/lib/launch/step_prepare_starting_app.cc
b/src/lib/launch/step_prepare_starting_app.cc
index e34ff317c2df95782370a1fa052a6dfe40a7e4be..0af22ce669685c56eb516e6a2c660ab55a186d6b 100644
(file)
--- a/
src/lib/launch/step_prepare_starting_app.cc
+++ b/
src/lib/launch/step_prepare_starting_app.cc
@@
-588,7
+588,7
@@
int StepPrepareStartingApp::CheckExecutable(LaunchContext* context) {
auto* ignore = _appinfo_get_value(app_info, AIT_IGNORE);
if (ignore && strcmp(ignore, "true") != 0) {
_W("Blocking. appid(%s)", context->GetAppId().c_str());
- return -E
NOENT
;
+ return -E
REJECTED
;
}
_W("Ignore blocking status");