mirror of
https://gitee.com/openharmony/account_os_account
synced 2024-11-23 10:10:11 +00:00
commit
09db4a831f
@ -609,7 +609,7 @@ ErrCode AppAccountManagerService::QueryAllAccessibleAccounts(
|
||||
bool ret = BundleManagerAdapter::GetInstance()->GetBundleInfo(
|
||||
owner, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo, userId);
|
||||
if (!ret) {
|
||||
return ERR_APPACCOUNT_SERVICE_GET_BUNDLE_INFO;
|
||||
return ERR_OK;
|
||||
}
|
||||
return innerManager_->GetAllAccounts(owner, appAccounts, callingUid, bundleName, appIndex);
|
||||
}
|
||||
@ -725,7 +725,7 @@ ErrCode AppAccountManagerService::SubscribeAppAccount(
|
||||
AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo, userId);
|
||||
if (!bundleRet) {
|
||||
ACCOUNT_LOGE("failed to get bundle info");
|
||||
return ERR_APPACCOUNT_SERVICE_GET_BUNDLE_INFO;
|
||||
return ERR_OK;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user