Fix wrong implementation
authorIlho Kim <ilho159.kim@samsung.com>
Thu, 11 Mar 2021 06:46:05 +0000 (15:46 +0900)
committer김일호/Tizen Platform Lab(SR)/Engineer/삼성전자 <ilho159.kim@samsung.com>
Thu, 11 Mar 2021 08:52:45 +0000 (17:52 +0900)
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/request_handler/set_pkginfo_request_handler.cc

index 904c434d091ea320ed398e10716fae493152bb5c..3abd13df98aeae0437e310e5cc92ce73850bf276 100644 (file)
@@ -30,7 +30,7 @@ bool SetPkginfoRequestHandler::HandleRequest(unsigned char* data, int size,
     return false;
   }
 
-  auto* parcel = dynamic_cast<PkgInfoParcelable*>(abstract_parcel->GetUid(), abstract_parcel.get());
+  auto* parcel = dynamic_cast<PkgInfoParcelable*>(abstract_parcel.get());
   if (parcel == nullptr) {
     _LOGE("Parcel is empty");
     result_ = std::make_shared<ResultParcelable>(