From 59203c63bb777a3bacec32fb8830fba33540e809 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:29 +0200 Subject: Adding upstream version 127.0. Signed-off-by: Daniel Baumann --- .../geckoview_example/GeckoViewActivity.java | 24 ---------------------- 1 file changed, 24 deletions(-) (limited to 'mobile/android/geckoview_example/src') diff --git a/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java b/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java index 30ae778b8b..48036f7bf5 100644 --- a/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java +++ b/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java @@ -91,7 +91,6 @@ import org.mozilla.geckoview.GeckoWebExecutor; import org.mozilla.geckoview.Image; import org.mozilla.geckoview.MediaSession; import org.mozilla.geckoview.OrientationController; -import org.mozilla.geckoview.RuntimeTelemetry; import org.mozilla.geckoview.SlowScriptResponse; import org.mozilla.geckoview.TranslationsController; import org.mozilla.geckoview.WebExtension; @@ -874,7 +873,6 @@ public class GeckoViewActivity extends AppCompatActivity .build()) .crashHandler(ExampleCrashHandler.class) .preferredColorScheme(mPreferredColorScheme.value()) - .telemetryDelegate(new ExampleTelemetryDelegate()) .javaScriptEnabled(mJavascriptEnabled.value()) .extensionsProcessEnabled(mExtensionsProcessEnabled.value()) .globalPrivacyControlEnabled(mGlobalPrivacyControlEnabled.value()) @@ -3039,28 +3037,6 @@ public class GeckoViewActivity extends AppCompatActivity } } - private final class ExampleTelemetryDelegate implements RuntimeTelemetry.Delegate { - @Override - public void onHistogram(final @NonNull RuntimeTelemetry.Histogram histogram) { - Log.d(LOGTAG, "onHistogram " + histogram); - } - - @Override - public void onBooleanScalar(final @NonNull RuntimeTelemetry.Metric scalar) { - Log.d(LOGTAG, "onBooleanScalar " + scalar); - } - - @Override - public void onLongScalar(final @NonNull RuntimeTelemetry.Metric scalar) { - Log.d(LOGTAG, "onLongScalar " + scalar); - } - - @Override - public void onStringScalar(final @NonNull RuntimeTelemetry.Metric scalar) { - Log.d(LOGTAG, "onStringScalar " + scalar); - } - } - private class ExampleActivityDelegate implements GeckoView.ActivityContextDelegate { public Context getActivityContext() { return GeckoViewActivity.this; -- cgit v1.2.3