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

Commit 4f34ee4

Browse files
committed
remove a not useful test
1 parent 8160857 commit 4f34ee4

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

shell/platform/android/io/flutter/embedding/android/FlutterActivityAndFragmentDelegate.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,6 @@ private void doInitialFlutterViewRun() {
347347
return;
348348
}
349349

350-
if (!FlutterInjector.instance().flutterLoader().initialized()) {
351-
throw new AssertionError("Flutter UI can only be started once the Flutter engine's running.");
352-
}
353-
354350
if (flutterEngine.getDartExecutor().isExecutingDart()) {
355351
// No warning is logged because this situation will happen on every config
356352
// change if the developer does not choose to retain the Fragment instance.

0 commit comments

Comments
 (0)