Use DeviceProfile numFolderRows and numFolderColumns

Invariant hold values that are not related to current DP in use. This is a change needed for IDP to hold more values in the future akin to iconSize.

Bug: 309800141
Change-Id: Iefb388a5f6590d7da3452d2c388c02bd5e9d32bb
Flag: N/A
Test: NexusLauncherTests
This commit is contained in:
Thales Lima committed 2023-11-21 11:47:21 +00:00
1 parent ef8df12ff8
commit 07c6b8d96d
20 files changed
+67 -47

No files matched your search

@@ -96,7 +96,7 @@ public class FolderAnimationManager {
mContext = folder.getContext();
mDeviceProfile = folder.mActivityContext.getDeviceProfile();
mPreviewVerifier = new FolderGridOrganizer(mDeviceProfile.inv);
mPreviewVerifier = new FolderGridOrganizer(mDeviceProfile);
mIsOpening = isOpening;