X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcommon%2Fapp_install_helper.cpp;h=6012c3a516e7ecf37c8de08fb6793a4bc6cf06a2;hb=10336ec78265cee9a3fa4d82c2f895dad3383444;hp=2493bfe53c761a1915053abd4d07037afca35ca9;hpb=4f5ae1c2c96e890ba0316e1d4a8c4d33930038fe;p=platform%2Fcore%2Ftest%2Fsecurity-tests.git diff --git a/src/common/app_install_helper.cpp b/src/common/app_install_helper.cpp index 2493bfe..6012c3a 100644 --- a/src/common/app_install_helper.cpp +++ b/src/common/app_install_helper.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2019 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2014-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. @@ -279,20 +279,6 @@ bool AppInstallHelper::getIsHybrid() const { return m_isHybrid; } -void AppInstallHelper::addPrivileges(const std::vector &privileges) { - for (auto &p : privileges) { - addPrivilege(Privilege(p)); - } -} - -std::vector AppInstallHelper::getPrivilegesNames() const { - std::vector privileges; - for (auto &p : m_privileges) { - privileges.push_back(p.getName()); - } - return privileges; -} - void AppInstallHelper::addPrivilege(Privilege privilege) { m_privileges.push_back(std::move(privilege)); }