Sorry, I can't change it here, the handle type here is different:
pkgmgr_appinfo_get_appid uses pkgmgr_appinfo_h, while pkgmgrinfo_appinfo_get_appid uses pkgmgrinfo_appinfo_h