Fix wallpaper in landscape mode with notched devices.

This commit is contained in:
Alex Hart
2021-01-28 14:24:54 -04:00
committed by Greyson Parrelli
parent 4f9f62992f
commit 0b62bb8168
10 changed files with 33 additions and 43 deletions

View File

@@ -90,7 +90,7 @@ public class ChatWallpaperPreviewActivity extends PassphraseRequiredActivity {
bubble2.setText(getString(R.string.ChatWallpaperPreviewActivity__set_wallpaper_for_s, recipient.getDisplayName(this)));
}
new FullscreenHelper(this).showSystemUI();
FullscreenHelper.createWithDefaultCutoutMode(this).showSystemUI();
WindowUtil.setLightStatusBarFromTheme(this);
WindowUtil.setLightNavigationBarFromTheme(this);
}