Add a deprecation note to FlutterFragmentActivity (flutter/engine#18865)

This commit is contained in:
xster
2020-06-08 00:23:55 -07:00
committed by GitHub
parent a98e6f44d0
commit 9486f61eb5

View File

@@ -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}.
*
* <p>Deprecation: this class is replaced by {@link
* io.flutter.embedding.android.FlutterFragmentActivity}.
*
* <p>Applications that don't have this need will likely want to use {@link FlutterActivity}
* instead.
*
* <p><strong>Important!</strong> 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