Skip to content

Commit fdac82b

Browse files
komaxxMatthias Schickermiquelbeltran
authored
fix(alarm_manager_plus): removed import that broke build (#3477)
Co-authored-by: Matthias Schicker <mail@matthiasschicker.de> Co-authored-by: Miguel Beltran <m@beltran.work>
1 parent c0ab921 commit fdac82b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/android_alarm_manager_plus/android/src/main/java/dev/fluttercommunity/plus/androidalarmmanager/AndroidAlarmManagerPlugin.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
import android.content.Context;
88
import android.util.Log;
9+
import io.flutter.embedding.engine.FlutterEngine;
910
import io.flutter.embedding.engine.plugins.FlutterPlugin;
1011
import io.flutter.plugin.common.BinaryMessenger;
1112
import io.flutter.plugin.common.JSONMethodCodec;
1213
import io.flutter.plugin.common.MethodCall;
1314
import io.flutter.plugin.common.MethodChannel;
1415
import io.flutter.plugin.common.MethodChannel.MethodCallHandler;
1516
import io.flutter.plugin.common.MethodChannel.Result;
16-
import io.flutter.view.FlutterNativeView;
1717
import org.json.JSONArray;
1818
import org.json.JSONException;
1919
import org.json.JSONObject;
@@ -28,8 +28,8 @@
2828
* <li>The Dart side of this plugin sends the Android side a "AlarmService.start" message, along
2929
* with a Dart callback handle for a Dart callback that should be immediately invoked by a
3030
* background Dart isolate.
31-
* <li>The Android side of this plugin spins up a background {@link FlutterNativeView}, which
32-
* includes a background Dart isolate.
31+
* <li>The Android side of this plugin spins up a background {@link FlutterEngine} to run a
32+
* background Dart isolate.
3333
* <li>The Android side of this plugin instructs the new background Dart isolate to execute the
3434
* callback that was received in the "AlarmService.start" message.
3535
* <li>The Dart side of this plugin, running within the new background isolate, executes the

0 commit comments

Comments
 (0)