Merge "Correct position of divider bar when get display insets" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
862d7365c9
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user