From: Changgyu Choi Date: Thu, 30 Sep 2021 00:51:58 +0000 (+0900) Subject: Fix some API's request type checked X-Git-Tag: accepted/tizen/6.5/unified/20211109.041719~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F91%2F264791%2F2;p=platform%2Fcore%2Fappfw%2Fpkgmgr-info.git Fix some API's request type checked Change-Id: I5bd5de1a4abcc9732d6070998257a92ecba123fe Signed-off-by: Changgyu Choi --- diff --git a/src/manager/pkginfo_manager.cc b/src/manager/pkginfo_manager.cc index c0d0fcc..f9ff82c 100644 --- a/src/manager/pkginfo_manager.cc +++ b/src/manager/pkginfo_manager.cc @@ -933,7 +933,7 @@ extern "C" EXPORT_API int _parser_clear_cache_memory_db(uid_t uid) { return PMINFO_R_ERROR; return ValidateParcelable( - client.GetResultParcel(), pcp::ParcelableType::CertInfo); + client.GetResultParcel(), pcp::ParcelableType::Result); } static int __create_and_initialize_db(uid_t uid) { @@ -947,7 +947,7 @@ static int __create_and_initialize_db(uid_t uid) { return PMINFO_R_ERROR; return ValidateParcelable( - client.GetResultParcel(), pcp::ParcelableType::CertInfo); + client.GetResultParcel(), pcp::ParcelableType::Result); } extern "C" EXPORT_API int _parser_create_and_initialize_db(uid_t uid) {