From 3b3a17ffc3272c6080b4a0bf949d727058c19622 Mon Sep 17 00:00:00 2001 From: Junghyun Yeon Date: Mon, 22 Feb 2021 17:54:51 +0900 Subject: [PATCH] Change usage of functions Signed-off-by: Junghyun Yeon --- src/common/parcel/certinfo_parcelable.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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; } -- 2.7.4