From 604e7bd667b357d4c373e1d649b3a8377769161f Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Tue, 14 Apr 2020 03:06:01 +0000 Subject: [PATCH] Revert "Show all apps app names in multi window landscape" This reverts commit 1c3c3b1d6fc1911740882c726e4e838d6502edd6. Reason for revert: Broke multi-window rotation and secondary display Change-Id: I907b21ca82cf2e25f8abe7a09eafd6dec817f81b (cherry picked from commit 157e666058772056c2820f6eff7b7b52c5a8ecd4) --- src/com/android/launcher3/DeviceProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index 4e1e5863b3..0cc9a2ce2a 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java @@ -271,7 +271,7 @@ public class DeviceProfile { // In multi-window mode, we can have widthPx = availableWidthPx // and heightPx = availableHeightPx because Launcher uses the InvariantDeviceProfiles' // 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); // If there isn't enough vertical cell padding with the labels displayed, hide the labels.