Fix grid size migration

This commit is contained in:
Suphon Thanakornpakapong committed 2021-10-12 01:18:20 +07:00
1 parent 054202c9ea
commit 60cc4e9588
4 files changed
+14 -28

No files matched your search

@@ -331,7 +331,7 @@ public class InvariantDeviceProfile {
// If the partner customization apk contains any grid overrides, apply them
// Supported overrides: numRows, numColumns, iconSize
applyPartnerDeviceProfileOverrides(context, metrics);
DeviceProfileOverrides.getINSTANCE().get(context).apply(this, closestProfile);
DeviceProfileOverrides.INSTANCE.get(context).apply(this, closestProfile);
iconBitmapSize = ResourceUtils.pxFromDp(Math.max(iconSize, allAppsIconSize), metrics);
fillResIconDpi = getLauncherIconDensity(iconBitmapSize);