Fix #54. Thanks @slavino for the report!

This commit is contained in:
geeksville
2020-06-16 10:09:22 -07:00
parent 9a784b1385
commit 3cf7d97dcf
2 changed files with 2 additions and 1 deletions

View File

@@ -353,7 +353,7 @@ class MeshService : Service(), Logging {
@RequiresApi(Build.VERSION_CODES.O)
private fun createNotificationChannel(): String {
val channelId = "my_service"
val channelName = "My Background Service"
val channelName = getString(R.string.meshtastic_service_notifications)
val chan = NotificationChannel(
channelId,
channelName, NotificationManager.IMPORTANCE_HIGH

View File

@@ -68,4 +68,5 @@
<string name="modem_config_long">Long range (but slower)</string>
<string name="modem_config_very_long">Very long range (but slow)</string>
<string name="modem_config_unrecognized">UNRECOGNIZED</string>
<string name="meshtastic_service_notifications">Meshtastic Service Notifications</string>
</resources>