From df1f543ba050fa22d7a0568a0baf16a3397bbfc8 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 (#18865) --- .../io/flutter/app/FlutterFragmentActivity.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java b/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java index 3fc80cf703b..936f0b2315a 100644 --- a/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java +++ b/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