Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 5759a43

Browse files
authored
Revert "Add a deprecation javadoc note to the old FlutterActivity (#15156)" (#15331)
This reverts commit 293cd97.
1 parent 74f48cd commit 5759a43

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

shell/platform/android/io/flutter/app/FlutterActivity.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,12 @@
1616
import io.flutter.view.FlutterNativeView;
1717
import 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.
2119
/**
2220
* 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.
2621
*/
2722
public class FlutterActivity extends Activity implements FlutterView.Provider, PluginRegistry, ViewFactory {
2823
private static final String TAG = "FlutterActivity";
29-
24+
3025
private final FlutterActivityDelegate delegate = new FlutterActivityDelegate(this, this);
3126

3227
// These aliases ensure that the methods we forward to the delegate adhere

0 commit comments

Comments
 (0)