Refactoring FolderPagedView to make it more testable

Bug: 353588686
Test: Compiles
Flag: NONE refactor
Change-Id: I612523282a57beac90b14a890a333a1670ab0d48
This commit is contained in:
Sebastian Franco authored and Sebastián Franco committed 2024-07-17 23:32:17 +00:00
1 parent 78e9ef2b12
commit c794aca69f
7 files changed
+34 -12

No files matched your search

@@ -568,7 +568,7 @@ public class LoaderTask implements Runnable {
private void processFolderItems() {
// Sort the folder items, update ranks, and make sure all preview items are high res.
List<FolderGridOrganizer> verifiers = mApp.getInvariantDeviceProfile().supportedProfiles
.stream().map(FolderGridOrganizer::new).toList();
.stream().map(FolderGridOrganizer::createFolderGridOrganizer).toList();
for (CollectionInfo collection : mBgDataModel.collections) {
if (!(collection instanceof FolderInfo folder)) {
continue;