diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
commit | 59203c63bb777a3bacec32fb8830fba33540e809 (patch) | |
tree | 58298e711c0ff0575818c30485b44a2f21bf28a0 /mobile/android/geckoview_example/src | |
parent | Adding upstream version 126.0.1. (diff) | |
download | firefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip |
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/geckoview_example/src')
-rw-r--r-- | mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java | 24 |
1 files changed, 0 insertions, 24 deletions
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<Boolean> scalar) { - Log.d(LOGTAG, "onBooleanScalar " + scalar); - } - - @Override - public void onLongScalar(final @NonNull RuntimeTelemetry.Metric<Long> scalar) { - Log.d(LOGTAG, "onLongScalar " + scalar); - } - - @Override - public void onStringScalar(final @NonNull RuntimeTelemetry.Metric<String> scalar) { - Log.d(LOGTAG, "onStringScalar " + scalar); - } - } - private class ExampleActivityDelegate implements GeckoView.ActivityContextDelegate { public Context getActivityContext() { return GeckoViewActivity.this; |