Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert "Add a deprecation javadoc note to the old FlutterActivity (#1…
…5156)"

This reverts commit 293cd97.
  • Loading branch information
jmagman authored Jan 9, 2020
commit 51af8f0c219215674c7f40c07947a33ee9327211
7 changes: 1 addition & 6 deletions shell/platform/android/io/flutter/app/FlutterActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,12 @@
import io.flutter.view.FlutterNativeView;
import io.flutter.view.FlutterView;

// This uses a javadoc deprecation instead of a deprecation annotation because we don't want to show
// a build-time warning yet. Revise once v2 embedding usage volume increases.
/**
* Base class for activities that use Flutter.
*
* @deprecated As of Flutter v1.12, this class is deprecated in favor of {@link io.flutter.embedding.android.FlutterActivity}.
* See https://flutter.dev/go/android-project-migration for migration details.
*/
public class FlutterActivity extends Activity implements FlutterView.Provider, PluginRegistry, ViewFactory {
private static final String TAG = "FlutterActivity";

private final FlutterActivityDelegate delegate = new FlutterActivityDelegate(this, this);

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