diff options
author | twyen <twyen@google.com> | 2018-06-21 14:51:38 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-21 18:42:25 -0700 |
commit | a45b5e0299bad5aa6d287179d2c476570f14f347 (patch) | |
tree | 8dfee4cba5f077bd1d63fc8528591a6c0dc342e2 /java | |
parent | 1432364e3e36a8243f5a96a219e91ecb60ef65a1 (diff) |
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
Diffstat (limited to 'java')
-rw-r--r-- | java/com/android/incallui/theme/res/values/styles.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/android/incallui/theme/res/values/styles.xml b/java/com/android/incallui/theme/res/values/styles.xml index 5b65cc3d9..3266c7da3 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"> |