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

Commit 862d7365 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Correct position of divider bar when get display insets" into udc-dev

parents 4538ab9b ec974061
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();
    }