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 16
16
import io .flutter .view .FlutterNativeView ;
17
17
import io .flutter .view .FlutterView ;
18
18
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.
19
21
/**
20
22
* 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.
21
26
*/
22
27
public class FlutterActivity extends Activity implements FlutterView .Provider , PluginRegistry , ViewFactory {
23
28
private static final String TAG = "FlutterActivity" ;
24
-
29
+
25
30
private final FlutterActivityDelegate delegate = new FlutterActivityDelegate (this , this );
26
31
27
32
// These aliases ensure that the methods we forward to the delegate adhere
You can’t perform that action at this time.
0 commit comments