From 92f3cf1e0ffb8213917f62e59c893c64468b631f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 11 Jul 2024 16:36:21 +0900 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E8=A8=80=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/example/childguard/TestService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/example/childguard/TestService.java b/app/src/main/java/com/example/childguard/TestService.java index fb2d6d5..51f3ca0 100644 --- a/app/src/main/java/com/example/childguard/TestService.java +++ b/app/src/main/java/com/example/childguard/TestService.java @@ -78,8 +78,8 @@ public class TestService extends Service { Intent notificationIntent = new Intent(this, MainActivity.class); PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, notificationIntent, PendingIntent.FLAG_IMMUTABLE); Notification notification = new NotificationCompat.Builder(this, BACKGROUND_CHANNEL_ID) - .setContentTitle("Test Service Running") - .setContentText("This service is running in the foreground") + .setContentTitle("ChildGuardバックグラウンドサービス") + .setContentText("接続/通報監視サービスがバックグラウンドで実行されています") .setSmallIcon(android.R.drawable.ic_menu_info_details) .setContentIntent(pendingIntent) .build();