Merge "Fix the display problem of the cutout" into main
diff --git a/src/com/android/settings/Utils.java b/src/com/android/settings/Utils.java
index e067c73..f76ea27 100644
--- a/src/com/android/settings/Utils.java
+++ b/src/com/android/settings/Utils.java
@@ -1409,7 +1409,8 @@
ViewCompat.setOnApplyWindowInsetsListener(activity.findViewById(android.R.id.content),
(v, windowInsets) -> {
Insets insets = windowInsets.getInsets(
- WindowInsetsCompat.Type.systemBars() | WindowInsetsCompat.Type.ime());
+ WindowInsetsCompat.Type.systemBars() | WindowInsetsCompat.Type.ime()
+ | WindowInsetsCompat.Type.displayCutout());
int statusBarHeight = activity.getWindow().getDecorView().getRootWindowInsets()
.getInsets(WindowInsetsCompat.Type.statusBars()).top;
// Apply the insets paddings to the view.