From 6ceea50af1ada66e40a1c1517de70c219b9947ab Mon Sep 17 00:00:00 2001 From: Imanol Fernandez Date: Tue, 9 Jul 2019 22:49:53 +0200 Subject: [PATCH] Fix telemetry APP name. (#1382) --- .../org/mozilla/vrbrowser/telemetry/TelemetryWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/common/shared/org/mozilla/vrbrowser/telemetry/TelemetryWrapper.java b/app/src/common/shared/org/mozilla/vrbrowser/telemetry/TelemetryWrapper.java index bf0497bbf..396511183 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/telemetry/TelemetryWrapper.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/telemetry/TelemetryWrapper.java @@ -91,7 +91,7 @@ public static void init(Context aContext) { final boolean telemetryEnabled = SettingsStore.getInstance(aContext).isTelemetryEnabled(); final TelemetryConfiguration configuration = new TelemetryConfiguration(aContext) .setServerEndpoint("https://incoming.telemetry.mozilla.org") - .setAppName(APP_NAME + "_" + BuildConfig.FLAVOR_platform) + .setAppName(APP_NAME + "_" + (DeviceType.isOculusBuild() ? "oculusvr" : BuildConfig.FLAVOR_platform)) .setUpdateChannel(BuildConfig.BUILD_TYPE) .setPreferencesImportantForTelemetry(resources.getString(R.string.settings_key_locale)) .setCollectionEnabled(telemetryEnabled)