From 1fe873e00f1fd07ffdcecf4733c699cf86139180 Mon Sep 17 00:00:00 2001 From: Roger Yang Date: Mon, 11 Jul 2022 12:59:18 -0400 Subject: [PATCH] [components] Close https://github.com/mozilla-mobile/android-components/issues/10112: Create a clearer notification for sending telemetry data --- .../lib/crash/service/SendCrashTelemetryService.kt | 5 +---- .../components/lib/crash/src/main/res/values/strings.xml | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android-components/components/lib/crash/src/main/java/mozilla/components/lib/crash/service/SendCrashTelemetryService.kt b/android-components/components/lib/crash/src/main/java/mozilla/components/lib/crash/service/SendCrashTelemetryService.kt index 2fda7e941ac2..d18ae7a60dc4 100644 --- a/android-components/components/lib/crash/src/main/java/mozilla/components/lib/crash/service/SendCrashTelemetryService.kt +++ b/android-components/components/lib/crash/src/main/java/mozilla/components/lib/crash/service/SendCrashTelemetryService.kt @@ -28,10 +28,7 @@ class SendCrashTelemetryService : Service() { val channel = CrashNotification.ensureChannelExists(this) val notification = NotificationCompat.Builder(this, channel) .setContentTitle( - getString( - R.string.mozac_lib_send_crash_report_in_progress, - crashReporter.promptConfiguration.organizationName - ) + getString(R.string.mozac_lib_gathering_crash_telemetry_in_progress) ) .setSmallIcon(R.drawable.mozac_lib_crash_notification) .setPriority(NotificationCompat.PRIORITY_DEFAULT) diff --git a/android-components/components/lib/crash/src/main/res/values/strings.xml b/android-components/components/lib/crash/src/main/res/values/strings.xml index cb12ea300731..8b372a8ceb8a 100644 --- a/android-components/components/lib/crash/src/main/res/values/strings.xml +++ b/android-components/components/lib/crash/src/main/res/values/strings.xml @@ -27,6 +27,9 @@ Sending crash report to %1$s + + Gathering crash telemetry data + Crash Reports