feat: simplify location streaming wording

This commit is contained in:
B. Petersen
2026-05-06 10:36:47 +02:00
committed by biörn
parent 653c8688b7
commit 94e2c8dbed
2 changed files with 4 additions and 6 deletions
@@ -188,9 +188,9 @@ public class LocationStreamingService extends Service {
NotificationChannel channel =
new NotificationChannel(
CHANNEL_ID,
getString(R.string.location_streaming_notification_title),
getString(R.string.pref_on_demand_location_streaming),
NotificationManager.IMPORTANCE_LOW);
channel.setDescription(getString(R.string.location_streaming_channel_desc));
channel.setDescription("Channel for Location Streaming");
channel.setShowBadge(false);
NotificationManager nm = getSystemService(NotificationManager.class);
if (nm != null) nm.createNotificationChannel(channel);
@@ -209,7 +209,7 @@ public class LocationStreamingService extends Service {
PendingIntent.getService(this, 1, stopIntent, PendingIntent.FLAG_IMMUTABLE);
return new NotificationCompat.Builder(this, CHANNEL_ID)
.setContentTitle(getString(R.string.location_streaming_notification_title))
.setContentTitle(getString(R.string.pref_on_demand_location_streaming))
.setContentText(getString(R.string.location_streaming_notification_text))
.setSmallIcon(R.drawable.ic_location_on_white_24dp)
.setOngoing(true)