Merge "Prevent apply system insets on splash screen from FITS_SYSTEM_WINDOWS" into sc-dev am: f8a49bec00

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15218875

Change-Id: Ic84b6592fa3a930645f2c86d7cdca5b798e0b186
This commit is contained in:
Wei Sheng Shih
2021-07-07 11:26:48 +00:00
committed by Automerger Merge Worker

View File

@@ -299,6 +299,7 @@ public class StartingSurfaceDrawer {
final SplashScreenViewSupplier viewSupplier = new SplashScreenViewSupplier();
final FrameLayout rootLayout = new FrameLayout(context);
rootLayout.setPadding(0, 0, 0, 0);
rootLayout.setFitsSystemWindows(false);
final Runnable setViewSynchronized = () -> {
Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "addSplashScreenView");
// waiting for setContentView before relayoutWindow