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:
43086e9
)
Fix restart contition
author
Changgyu Choi
<changyu.choi@samsung.com>
Mon, 23 Oct 2023 09:17:21 +0000
(18:17 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 2 Nov 2023 09:16:18 +0000
(18:16 +0900)
If autorestart option is true, the value is "1".
Change-Id: I83fc46ccf3f4a1d398621ebdc83ac1650f262289
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/lib/app_info/app_info_manager.cc
patch
|
blob
|
history
diff --git
a/src/lib/app_info/app_info_manager.cc
b/src/lib/app_info/app_info_manager.cc
index c25a9e7560245297c53aded765d0a297f6585aa8..1ff9e97ba005c2ce7dc0a38b18f96fef7052bf3d 100644
(file)
--- a/
src/lib/app_info/app_info_manager.cc
+++ b/
src/lib/app_info/app_info_manager.cc
@@
-306,7
+306,7
@@
void AppInfoManager::UnsetPackageBlocking(uid_t target_uid,
info->SetStatus("installed");
_D("%s status changed: 'installed'", info->GetAppId().c_str());
- if (restart && status == "restart" && info->GetAutoRestart() == "
restart
")
+ if (restart && status == "restart" && info->GetAutoRestart() == "
1
")
_launch_start_app_local(target_uid, info->GetAppId().c_str());
}
}