diff --git a/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterActivity.java b/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterActivity.java index 4d16a2ddab..13137ebf7d 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterActivity.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterActivity.java @@ -164,12 +164,14 @@ import java.util.List; * *

Launch Screen and Splash Screen * - *

{@code FlutterActivity} supports the display of an Android "launch screen" as well as a - * Flutter-specific "splash screen". The launch screen is displayed while the Android application - * loads. It is only applicable if {@code FlutterActivity} is the first {@code Activity} displayed - * upon loading the app. After the launch screen passes, a splash screen is optionally displayed. - * The splash screen is displayed for as long as it takes Flutter to initialize and render its first - * frame. + *

{@code FlutterActivity} supports the display of an Android "launch screen", which is displayed + * while the Android application loads. It is only applicable if {@code FlutterActivity} is the + * first {@code Activity} displayed upon loading the app. + * + *

Prior to Flutter 2.5, {@code FlutterActivity} supported the display of a Flutter-specific + * "splash screen" that would be displayed after the launch screen passes. This has since been + * deprecated. If a launch screen is specified, it will automatically persist for as long as it + * takes Flutter to initialize and render its first frame. * *

Use Android themes to display a launch screen. Create two themes: a launch theme and a normal * theme. In the launch theme, set {@code windowBackground} to the desired {@code Drawable} for the @@ -198,13 +200,6 @@ import java.util.List; * initialization, subclass {@code FlutterActivity} and override {@link #provideSplashScreen()}. See * {@link SplashScreen} for details on implementing a splash screen. * - *

Flutter ships with a splash screen that automatically displays the exact same {@code - * windowBackground} as the launch theme discussed previously. To use that splash screen, include - * the following metadata in AndroidManifest.xml for this {@code FlutterActivity}: - * - *

{@code } - * *

Alternative Activity {@link FlutterFragmentActivity} is also available, which * is similar to {@code FlutterActivity} but it extends {@code FragmentActivity}. You should use * {@code FlutterActivity}, if possible, but if you need a {@code FragmentActivity} then you should