It is not used anywhere.
Change-Id: I6efd669e8b1827bb37659db0f13543029283aa31
PkgMgrPtr pkgmgr = PkgMgrInterface::Instance();
pi_.reset(new PkgmgrSignal(pkgmgr.get()->GetRawPi()));
context_->pkg_type.set(package_type);
- context_->request_type.set(pkgmgr->GetRequestType());
- switch (context_->request_type.get()) {
+ switch (pkgmgr->GetRequestType()) {
case PkgMgrInterface::Type::Install:
context_->file_path.set(pkgmgr->GetRequestInfo());
context_->pkgid.set(STR_EMPTY);
namespace fs = boost::filesystem;
ContextInstaller::ContextInstaller()
- : request_type(PkgMgrInterface::Type::Unknown),
- manifest_data(static_cast<manifest_x*>(calloc(1, sizeof(manifest_x)))),
+ : manifest_data(static_cast<manifest_x*>(calloc(1, sizeof(manifest_x)))),
uid(getuid()) {
std::string root_app_path =
#include <memory>
#include <string>
-#include "common/pkgmgr_interface.h"
-
namespace common_installer {
/** Template class for defining smart attributes.
ContextInstaller();
~ContextInstaller();
- // TODO(p.sikorski) it looks, as it is not used anywhere.
- // request type: Install, Reinstall, Uninstall, Update.
- Property<PkgMgrInterface::Type> request_type;
-
// package_type
Property<std::string> pkg_type;