mirror of
https://github.com/openharmony/applications_sample_camera.git
synced 2026-07-19 21:26:10 -04:00
解决launcher/launcher/src/main/cpp/swipe_view.cpp文件中BundleInfoScan函数无法调用
解决SwipeView类无法调用BundleInfoScan函数 Signed-off-by: tongkai0808fh <tongkai5@huawei.com>
This commit is contained in:
@@ -119,12 +119,12 @@ void SwipeView::OnSetUpView()
|
||||
BundleInfo* pBundleInfos = nullptr;
|
||||
int count = 0;
|
||||
if (appManage_->LauncherApp(&pBundleInfos, count)) {
|
||||
BundleInfoScan(pBundleInfos, count, groupCount_);
|
||||
BundleInfoScan(pBundleInfos, count, groupCount_, arrPage_[MAX_VIEWGROUP]);
|
||||
}
|
||||
swipe_->SetCurrentPage(0);
|
||||
}
|
||||
|
||||
void BundleInfoScan(BundleInfo* pBundleInfos, int count, int groupCount, ViewGroupPage* arrPage_[MAX_VIEWGROUP])
|
||||
void SwipeView::BundleInfoScan(BundleInfo* pBundleInfos, int count, int groupCount, ViewGroupPage* arrPage_[MAX_VIEWGROUP])
|
||||
{
|
||||
arrPage_[0]->SetMatrix(APP_ROW_COUNT, APP_COL_COUNT);
|
||||
arrPage_[0]->SetScale(0.6);
|
||||
|
||||
Reference in New Issue
Block a user