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

Commit 814e147b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Correct position of divider bar when get display insets" into udc-dev am: 862d7365

parents 1e2062e9 862d7365
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -709,7 +709,8 @@ public final class SplitLayout implements DisplayInsetsController.OnInsetsChange
        return context.getSystemService(WindowManager.class)
                .getMaximumWindowMetrics()
                .getWindowInsets()
                .getInsets(WindowInsets.Type.systemBars() | WindowInsets.Type.displayCutout())
                .getInsetsIgnoringVisibility(WindowInsets.Type.systemBars()
                        | WindowInsets.Type.displayCutout())
                .toRect();
    }