Make numFolderRows/Columns accept more values
InvariantDeviceProfile hold values that are not related to current DP in use. Now other classes get the value correctly from DeviceProfile, and each posture can hold different values, making it akin to iconSize. Fix: 309800141 Test: DeviceProfileResponsiveDumpTest Test: DeviceProfileResponsiveAlternativeDisplaysDumpTest Test: DeviceProfileDumpTest Test: DeviceProfileAlternativeDisplaysDumpTest Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD Change-Id: I32295738585de67205dcd6c8942d08a3d07d169a
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user