Skip to content

Commit

Permalink
Removed scary experimental warnings for new embedding. (flutter#44314) (
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-carroll authored Nov 7, 2019
1 parent 7ed9c9f commit 6fd58ed
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
/**
* A single Flutter execution environment.
* <p>
* WARNING: THIS CLASS IS CURRENTLY EXPERIMENTAL. USE AT YOUR OWN RISK.
* <p>
* The {@code FlutterEngine} is the container through which Dart code can be run in an Android
* application.
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
/**
* Interface between Flutter embedding's Java code and Flutter engine's C/C++ code.
*
* WARNING: THIS CLASS IS EXPERIMENTAL. DO NOT SHIP A DEPENDENCY ON THIS CODE.
* IF YOU USE IT, WE WILL BREAK YOU.
*
* Flutter's engine is built with C/C++. The Android Flutter embedding is responsible for
* coordinating Android OS events and app user interactions with the C/C++ engine. Such coordination
* requires messaging from an Android app in Java code to the C/C++ engine code. This
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
/**
* Arguments that can be delivered to the Flutter shell when it is created.
* <p>
* WARNING: THIS CLASS IS EXPERIMENTAL. DO NOT SHIP A DEPENDENCY ON THIS CODE.
* IF YOU USE IT, WE WILL BREAK YOU.
* <p>
* The term "shell" refers to the native code that adapts Flutter to different platforms. Flutter's
* Android Java code initializes a native "shell" and passes these arguments to that native shell
* when it is initialized. See {@link io.flutter.view.FlutterMain#ensureInitializationComplete(Context, String[])}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
/**
* Message conduit for 2-way communication between Android and Dart.
* <p>
* WARNING: THIS CLASS IS EXPERIMENTAL. DO NOT SHIP A DEPENDENCY ON THIS CODE.
* IF YOU USE IT, WE WILL BREAK YOU.
* <p>
* See {@link BinaryMessenger}, which sends messages from Android to Dart
* <p>
* See {@link PlatformMessageHandler}, which handles messages to Android from Dart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
import android.support.annotation.Nullable;

/**
* WARNING: THIS CLASS IS EXPERIMENTAL. DO NOT SHIP A DEPENDENCY ON THIS CODE.
* IF YOU USE IT, WE WILL BREAK YOU.
* Handler that receives messages from Dart code.
*/
public interface PlatformMessageHandler {
void handleMessageFromDart(@NonNull final String channel, @Nullable byte[] message, final int replyId);
Expand Down

0 comments on commit 6fd58ed

Please sign in to comment.