/*
- * Copyright (c) 2016-2019 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2016-2020 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
if (pid == 0) {
setLauncherSecurityAttributes(uid, gid);
Api::prepareAppCandidate();
- Api::prepareApp(appId.c_str());
+ Api::prepareApp(appId);
f();
exit(0);
} else {
waitPid(pid);
- Api::cleanupApp(appId.c_str(), uid, pid);
+ Api::cleanupApp(appId, uid, pid);
}
}