From 9486f61eb5566d0bce5f440551331054050c84be Mon Sep 17 00:00:00 2001 From: xster Date: Mon, 8 Jun 2020 00:23:55 -0700 Subject: [PATCH] Add a deprecation note to FlutterFragmentActivity (flutter/engine#18865) --- .../io/flutter/app/FlutterFragmentActivity.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java b/engine/src/flutter/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java index 3fc80cf703..936f0b2315 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java @@ -15,9 +15,14 @@ import io.flutter.view.FlutterNativeView; import io.flutter.view.FlutterView; /** - * Base class for activities that use Flutter who also require the use of the Android v4 Support - * library's {@link FragmentActivity}. Applications that don't have this need will likely want to - * use {@link FlutterActivity} instead. + * Deprecated class for activities that use Flutter who also require the use of the Android v4 + * Support library's {@link FragmentActivity}. + * + *

Deprecation: this class is replaced by {@link + * io.flutter.embedding.android.FlutterFragmentActivity}. + * + *

Applications that don't have this need will likely want to use {@link FlutterActivity} + * instead. * *

Important! Flutter does not bundle the necessary Android v4 Support library * classes for this class to work at runtime. It is the responsibility of the app developer using