Merge "Prevent apply system insets on splash screen from FITS_SYSTEM_WINDOWS" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f8a49bec00
@@ -299,6 +299,7 @@ public class StartingSurfaceDrawer {
|
|||||||
final SplashScreenViewSupplier viewSupplier = new SplashScreenViewSupplier();
|
final SplashScreenViewSupplier viewSupplier = new SplashScreenViewSupplier();
|
||||||
final FrameLayout rootLayout = new FrameLayout(context);
|
final FrameLayout rootLayout = new FrameLayout(context);
|
||||||
rootLayout.setPadding(0, 0, 0, 0);
|
rootLayout.setPadding(0, 0, 0, 0);
|
||||||
|
rootLayout.setFitsSystemWindows(false);
|
||||||
final Runnable setViewSynchronized = () -> {
|
final Runnable setViewSynchronized = () -> {
|
||||||
Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "addSplashScreenView");
|
Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "addSplashScreenView");
|
||||||
// waiting for setContentView before relayoutWindow
|
// waiting for setContentView before relayoutWindow
|
||||||
|
|||||||
Reference in New Issue
Block a user