From: Junghyun Yeon Date: Mon, 22 Feb 2021 08:54:51 +0000 (+0900) Subject: Change usage of functions X-Git-Tag: submit/tizen/20210317.082331~119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b3a17ffc3272c6080b4a0bf949d727058c19622;p=platform%2Fcore%2Fappfw%2Fpkgmgr-info.git Change usage of functions Signed-off-by: Junghyun Yeon --- diff --git a/src/common/parcel/certinfo_parcelable.cc b/src/common/parcel/certinfo_parcelable.cc index 4417fc1..e386ffe 100644 --- a/src/common/parcel/certinfo_parcelable.cc +++ b/src/common/parcel/certinfo_parcelable.cc @@ -93,14 +93,7 @@ void CertInfoParcelable::ReadCertInfo(tizen_base::Parcel* parcel) { } bool CertInfoParcelable::WritePkgId(tizen_base::Parcel* parcel) { - if (pkgid_.empty()) { - // what is this for? - parcel->WriteBool(true); - return true; - } - // what is this for? - parcel->WriteBool(false); - WriteString(parcel, pkgid_.c_str()); + parcel->WriteString(pkgid_); return true; }