Refactoring FolderPagedView to make it more testable

Bug: 353588686
Test: Compiles
Flag: NONE refactor
Change-Id: I612523282a57beac90b14a890a333a1670ab0d48
This commit is contained in:
Sebastian Franco
2024-07-17 16:18:20 -07:00
committed by Sebastián Franco
parent 78e9ef2b12
commit c794aca69f
7 changed files with 34 additions and 12 deletions
@@ -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;