result r = _AccessController::CheckUserPrivilege(_PRV_APPWIDGETPROVIDER_INSTALL);
SysTryReturnResult(NID_SHELL, !IsFailed(r), E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
SysTryReturnResult(NID_SHELL, _Aul::IsInstalled(providerAppId) == true, E_APP_NOT_INSTALLED, "The application(%ls) is not installed.", providerAppId.GetPointer());
+ SysTryReturnResult(NID_SHELL, !providerName.IsEmpty(), E_OBJ_NOT_FOUND, "The provider name is empty.");
r = CheckCertificate(Tizen::App::App::GetInstance()->GetAppId(), providerAppId);
SysTryReturnResult(NID_SHELL, !IsFailed(r), r, "VerifyCertification failed.");