!97 QueryStroageDistributeInfo入参删除userid

Merge pull request !97 from wanghang/master
This commit is contained in:
openharmony_ci 2022-04-14 11:18:23 +00:00 committed by Gitee
commit 19ed01f5a6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 3 additions and 5 deletions

View File

@ -162,7 +162,7 @@ public:
MOCK_METHOD1(BundleClone, bool(const std::string &bundleName));
MOCK_METHOD1(CheckBundleNameInAllowList, bool(const std::string &bundleName));
MOCK_METHOD0(GetBundleUserMgr, sptr<IBundleUserMgr>());
MOCK_METHOD4(GetDistributedBundleInfo, bool(const std::string &networkId, int32_t userId,
MOCK_METHOD3(GetDistributedBundleInfo, bool(const std::string &networkId,
const std::string &bundleName, DistributedBundleInfo &distributedBundleInfo));
MOCK_METHOD1(GetAppType, std::string(const std::string &bundleName));
MOCK_METHOD1(CheckIsSystemAppByUid, bool(const int uid));

View File

@ -400,8 +400,7 @@ bool BundleMgrProxy::RemoveClonedBundle(const std::string &bundleName, const int
return true;
}
bool BundleMgrProxy::GetDistributedBundleInfo(
const std::string &networkId, int32_t userId, const std::string &bundleName,
bool BundleMgrProxy::GetDistributedBundleInfo(const std::string &networkId, const std::string &bundleName,
DistributedBundleInfo &distributedBundleInfo)
{
return true;

View File

@ -400,8 +400,7 @@ bool BundleMgrProxy::RemoveClonedBundle(const std::string &bundleName, const int
return true;
}
bool BundleMgrProxy::GetDistributedBundleInfo(
const std::string &networkId, int32_t userId, const std::string &bundleName,
bool BundleMgrProxy::GetDistributedBundleInfo(const std::string &networkId, const std::string &bundleName,
DistributedBundleInfo &distributedBundleInfo)
{
return true;