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

Commit 53a84d6a authored by Diego Vela's avatar Diego Vela Committed by Android (Google) Code Review
Browse files

Merge "Relax height check for folding feature." into main

parents 36948870 80d5f47d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -356,7 +356,7 @@ public class WindowLayoutComponentImpl implements WindowLayoutComponent {
            }
            if (featureRect.left == 0
                    && featureRect.width() != windowConfiguration.getBounds().width()) {
                Log.wtf(TAG, "Horizontal FoldingFeature must have full width."
                Log.w(TAG, "Horizontal FoldingFeature must have full width."
                        + " BaseFeatureRect: " + baseFeature.getRect()
                        + ", FeatureRect: " + featureRect
                        + ", WindowConfiguration: " + windowConfiguration);
@@ -364,7 +364,7 @@ public class WindowLayoutComponentImpl implements WindowLayoutComponent {
            }
            if (featureRect.top == 0
                    && featureRect.height() != windowConfiguration.getBounds().height()) {
                Log.wtf(TAG, "Vertical FoldingFeature must have full height."
                Log.w(TAG, "Vertical FoldingFeature must have full height."
                        + " BaseFeatureRect: " + baseFeature.getRect()
                        + ", FeatureRect: " + featureRect
                        + ", WindowConfiguration: " + windowConfiguration);