Loading src/com/android/launcher3/DeviceProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -271,7 +271,7 @@ public class DeviceProfile { // In multi-window mode, we can have widthPx = availableWidthPx // In multi-window mode, we can have widthPx = availableWidthPx // and heightPx = availableHeightPx because Launcher uses the InvariantDeviceProfiles' // and heightPx = availableHeightPx because Launcher uses the InvariantDeviceProfiles' // widthPx and heightPx values where it's needed. // widthPx and heightPx values where it's needed. DeviceProfile profile = new DeviceProfile(context, inv, null, mwSize, mwSize, DeviceProfile profile = new DeviceProfile(context, inv, originalIdp, mwSize, mwSize, mwSize.x, mwSize.y, isLandscape, true); mwSize.x, mwSize.y, isLandscape, true); // If there isn't enough vertical cell padding with the labels displayed, hide the labels. // If there isn't enough vertical cell padding with the labels displayed, hide the labels. Loading Loading
src/com/android/launcher3/DeviceProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -271,7 +271,7 @@ public class DeviceProfile { // In multi-window mode, we can have widthPx = availableWidthPx // In multi-window mode, we can have widthPx = availableWidthPx // and heightPx = availableHeightPx because Launcher uses the InvariantDeviceProfiles' // and heightPx = availableHeightPx because Launcher uses the InvariantDeviceProfiles' // widthPx and heightPx values where it's needed. // widthPx and heightPx values where it's needed. DeviceProfile profile = new DeviceProfile(context, inv, null, mwSize, mwSize, DeviceProfile profile = new DeviceProfile(context, inv, originalIdp, mwSize, mwSize, mwSize.x, mwSize.y, isLandscape, true); mwSize.x, mwSize.y, isLandscape, true); // If there isn't enough vertical cell padding with the labels displayed, hide the labels. // If there isn't enough vertical cell padding with the labels displayed, hide the labels. Loading