File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
shell/platform/android/io/flutter/app Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1616import io .flutter .view .FlutterNativeView ;
1717import io .flutter .view .FlutterView ;
1818
19+ // This uses a javadoc deprecation instead of a deprecation annotation because we don't want to show
20+ // a build-time warning yet. Revise once v2 embedding usage volume increases.
1921/**
2022 * Base class for activities that use Flutter.
23+ *
24+ * @deprecated As of Flutter v1.12, this class is deprecated in favor of {@link io.flutter.embedding.android.FlutterActivity}.
25+ * See https://flutter.dev/go/android-project-migration for migration details.
2126 */
2227public class FlutterActivity extends Activity implements FlutterView .Provider , PluginRegistry , ViewFactory {
2328 private static final String TAG = "FlutterActivity" ;
24-
29+
2530 private final FlutterActivityDelegate delegate = new FlutterActivityDelegate (this , this );
2631
2732 // These aliases ensure that the methods we forward to the delegate adhere
You can’t perform that action at this time.
0 commit comments