Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
[components] Close mozilla-mobile/android-components#10112: Create a …
Browse files Browse the repository at this point in the history
…clearer notification for sending telemetry data
  • Loading branch information
rocketsroger authored and mergify[bot] committed Jul 13, 2022
1 parent a2f25bd commit 1fe873e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<!-- Label of notification showing that the crash report service is running. %1$s will be replaced with the name of the organization (e.g. Mozilla). -->
<string name="mozac_lib_send_crash_report_in_progress">Sending crash report to %1$s</string>

<!-- Label of notification showing that the telemetry service is gathering the crash data. -->
<string name="mozac_lib_gathering_crash_telemetry_in_progress">Gathering crash telemetry data</string>

<!-- Title of the activity that shows the list of past crashes (similar to about:crashes)-->
<string name="mozac_lib_crash_activity_title">Crash Reports</string>

Expand Down

0 comments on commit 1fe873e

Please sign in to comment.