Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22513e15 authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Fixed a small sizecompat check"

parents ec49bcc3 3a8d7fe1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3432,7 +3432,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {

                if (stack.inFreeformWindowingMode()) {
                    stack.setWindowingMode(WINDOWING_MODE_FULLSCREEN);
                } else if (!mSizeCompatFreeform) {
                } else if (!mSizeCompatFreeform && r.inSizeCompatMode()) {
                    throw new IllegalStateException("Size-compat windows are currently not"
                            + "freeform-enabled");
                } else if (stack.getParent().inFreeformWindowingMode()) {