Ignore display cutout for in call UI.
Per android documentation, LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER should be used for activities that changes SYSTEM_UI_FLAG_FULLSCREEN on runtime to avoid relayout. It has caused flickering issues for video calls.
SYSTEM_UI_FLAG_FULLSCREEN is only used in InCallActivity
TEST=manual
Bug: 110489070
Test: manual
PiperOrigin-RevId: 201590805
Change-Id: Ia5ee986540fc3b10ddda7f4c9d1a13ed35c43828
diff --git a/java/com/android/incallui/theme/res/values/styles.xml b/java/com/android/incallui/theme/res/values/styles.xml
index 5b65cc3..3266c7d 100644
--- a/java/com/android/incallui/theme/res/values/styles.xml
+++ b/java/com/android/incallui/theme/res/values/styles.xml
@@ -48,6 +48,7 @@
<item name="android:windowBackground">@drawable/incall_background_gradient</item>
<item name="android:windowShowWallpaper">true</item>
+ <item name="android:windowLayoutInDisplayCutoutMode">never</item>
</style>
<style name="Theme.InCallScreen.ManageConference" parent="Dialer.ThemeBase.ActionBar">