From 56234dbfe1cf14d3f3a231534d3d3c3e628ff3c6 Mon Sep 17 00:00:00 2001 From: Vinit Nayak Date: Wed, 15 Jan 2025 20:08:50 -0500 Subject: [PATCH] Cleanup leftRightSplitInPortrait flag Bug: 291018646 Change-Id: I2c801378c33ee62b5f6eabf2e9122dd7ae1a5ee0 Flag: EXEMPT removing flag --- src/com/android/launcher3/DeviceProfile.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index 9ebae9f6d9..276aa308a4 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java @@ -792,8 +792,7 @@ public class DeviceProfile { int leftRightSplitPortraitResId = Resources.getSystem().getIdentifier( "config_leftRightSplitInPortrait", "bool", "android"); boolean allowLeftRightSplitInPortrait = - com.android.wm.shell.Flags.enableLeftRightSplitInPortrait() - && leftRightSplitPortraitResId > 0 + leftRightSplitPortraitResId > 0 && res.getBoolean(leftRightSplitPortraitResId); if (allowLeftRightSplitInPortrait && isTablet) { isLeftRightSplit = !isLandscape;