namespace database {
CertSetDBHandler::CertSetDBHandler(uid_t uid, int pid, bool is_offline)
- : AbstractDBHandler(uid, pid), uid_(uid),
- is_offline_(is_offline), handle_(nullptr) {}
+ : AbstractDBHandler(uid, pid), uid_(uid), handle_(nullptr) {}
CertSetDBHandler::~CertSetDBHandler() {}
if (!Connect())
return PMINFO_R_ERROR;
- if (!is_offline_)
- DBHandleProvider::GetInst(uid_).SetMemoryMode(GetPID());
const auto& db = GetConnection().front().first;
return internal::CertInfoSet(db, handle_->pkgid, handle_, uid_);