8000 chore(messaging, android): fix native documentation (#12968) · firebase/flutterfire@7395785 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7395785

Browse files
authored
chore(messaging, android): fix native documentation (#12968)
1 parent ef0077e commit 7395785

File tree

1 file changed

+1
-34
lines changed

1 file changed

+1
-34
lines changed

packages/firebase_messaging/firebase_messaging/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingBackgroundExecutor.java

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -99,22 +99,6 @@ public void onMethodCall(MethodCall call, @NonNull Result result) {
9999
/**
100100
* Starts running a background Dart isolate within a new {@link FlutterEngine} using a previously
101101
* used entrypoint.
102-
*
103-
* <p>The isolate is configured as follows:
104-
*
105-
* <ul>
106-
* <li>Bundle Path: {@code io.flutter.view.FlutterMain.findAppBundlePath(context)}.
107-
* <li>Entrypoint: The Dart method used the last time this plugin was initialized in the
108-
* foreground.
109-
* <li>Run args: none.
110-
* </ul>
111-
*
112-
* <p>Preconditions:
113-
*
114-
* <ul>
115-
* <li>The given callback must correspond to a registered Dart callback. If the handle does not
116-
* resolve to a Dart callback then this method does nothing.
117-
* </ul>
118102
*/
119103
public void startBackgroundIsolate() {
120104
if (isNotRunning()) {
@@ -125,24 +109,7 @@ public void startBackgroundIsolate() {
125109
}
126110
}
127111

128-
/**
129-
* Starts running a background Dart isolate within a new {@link FlutterEngine}.
130-
*
131-
* <p>The isolate is configured as follows:
132-
*
133-
* <ul>
134-
* <li>Bundle Path: {@code io.flutter.view.FlutterMain.findAppBundlePath(context)}.
135-
* <li>Entrypoint: The Dart method represented by {@code callbackHandle}.
136-
* <li>Run args: none.
137-
* </ul>
138-
*
139-
* <p>Preconditions:
140-
*
141-
* <ul>
142-
* <li>The given {@code callbackHandle} must correspond to a registered Dart callback. If the
143-
* handle does not resolve to a Dart callback then this method does nothing.
144-
* </ul>
145-
*/
112+
/** Starts running a background Dart isolate within a new {@link FlutterEngine}. */
146113
public void startBackgroundIsolate(long callbackHandle, FlutterShellArgs shellArgs) {
147114
if (backgroundFlutterEngine != null) {
148115
Log.e(TAG, "Background isolate already started.");

0 commit comments

Comments
 (0)
0