Remove log statements that did not help. (flutter/engine#51825)

Introduced in https://github.com/flutter/engine/pull/51789, but none of the crashes/hangs on CI seem related to these events, so removing.
This commit is contained in:
Matan Lurey
2024-04-01 14:19:53 -07:00
committed by GitHub
parent 210666d858
commit 9f1dd63dac
3 changed files with 0 additions and 11 deletions

View File

@@ -91,8 +91,6 @@ public class ExternalTextureFlutterActivity extends TestActivity {
super.waitUntilFlutterRendered();
try {
// TODO: Remove after debugging https://github.com/flutter/flutter/issues/145988.
io.flutter.Log.i("Scenarios", "waitUntilFlutterRendered() | firstFrameLatch");
firstFrameLatch.await();
} catch (InterruptedException e) {
throw new RuntimeException(e);

View File

@@ -8,7 +8,6 @@ import android.os.Bundle;
import android.view.WindowManager;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.flutter.Log;
import io.flutter.embedding.android.FlutterActivity;
import io.flutter.embedding.engine.FlutterEngine;
import java.util.concurrent.CountDownLatch;
@@ -45,8 +44,6 @@ public abstract class TestableFlutterActivity extends FlutterActivity {
public void waitUntilFlutterRendered() {
try {
// TODO: Remove after debugging https://github.com/flutter/flutter/issues/145988.
Log.i("Scenarios", "waitUntilFlutterRendered() | flutterUiRenderedLatch");
flutterUiRenderedLatch.await();
} catch (InterruptedException e) {
throw new RuntimeException(e);

View File

@@ -60,16 +60,10 @@ void _onBeginFrame(Duration duration) {
return;
}
currentScenario!.onBeginFrame(duration);
// TODO(team): Remove after debugging https://github.com/flutter/flutter/issues/145988.
print('onBeginFrame: $duration');
}
void _onDrawFrame() {
currentScenario?.onDrawFrame();
// TODO(team): Remove after debugging https://github.com/flutter/flutter/issues/145988.
print('onDrawFrame');
}
void _onMetricsChanged() {