Cleanup leftRightSplitInPortrait flag
Bug: 291018646 Change-Id: I2c801378c33ee62b5f6eabf2e9122dd7ae1a5ee0 Flag: EXEMPT removing flag
This commit is contained in:
1 parent
3815a095f1
commit
56234dbfe1
1 file changed
+1
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user