From ece7c3d2d685ba9bb6dc93b1c893d09bee29a6c8 Mon Sep 17 00:00:00 2001 From: Bob Date: Thu, 20 Aug 2026 19:38:23 +0000 Subject: [PATCH] fix(notify): restore notification text from PR #223 while keeping icon fix from PR #227 PR #227 accidentally reverted the user-friendly text changes from PR #223: - 'ActivityWatch Server' -> 'ActivityWatch' - 'Server and sync running in background' -> 'Running in the background' The icon fix from #227 (using ic_stat_notification) is preserved. Fixes #226 --- .../main/java/net/activitywatch/android/BackgroundService.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/src/main/java/net/activitywatch/android/BackgroundService.kt b/mobile/src/main/java/net/activitywatch/android/BackgroundService.kt index 6a7a18ed..e202e0b3 100644 --- a/mobile/src/main/java/net/activitywatch/android/BackgroundService.kt +++ b/mobile/src/main/java/net/activitywatch/android/BackgroundService.kt @@ -213,8 +213,8 @@ class BackgroundService : Service() { } return NotificationCompat.Builder(this, CHANNEL_ID) - .setContentTitle("ActivityWatch Server") - .setContentText("Server and sync running in background") + .setContentTitle("ActivityWatch") + .setContentText("Running in the background") // Adaptive launcher mipmaps are not valid status-bar icons (alpha-only). .setSmallIcon(R.drawable.ic_stat_notification) .setContentIntent(pendingIntent)