From 59b299028ac0d0dc30b4a3d41feef9c29bfd8a88 Mon Sep 17 00:00:00 2001 From: Asura146 Date: Wed, 14 Aug 2024 04:24:10 +0900 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/example/childguard/SurveillanceService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/example/childguard/SurveillanceService.java b/app/src/main/java/com/example/childguard/SurveillanceService.java index 5508906..73a8875 100644 --- a/app/src/main/java/com/example/childguard/SurveillanceService.java +++ b/app/src/main/java/com/example/childguard/SurveillanceService.java @@ -67,9 +67,9 @@ public class SurveillanceService extends Service { private static final String REPORTED_CHANNEL_ID = "child_guard_reported"; private static final String BACKGROUND_CHANNEL_ID = "child_guard_background"; private static final int REQUEST_CODE = 100; -// private static final int NOTIFICATION_DELAY = 5 * 60 * 1000; // 5 minutes - // DEBUG - private static final int NOTIFICATION_DELAY = 5 * 1000; // 15 seconds + private static final int NOTIFICATION_DELAY = 5 * 60 * 1000; // 5 minutes + + private static final NotificationContent REPORTED_NOTIFICATION = new NotificationContent("子供の置き去りをしていませんか?", "第三者からの通報が行われました。", REPORTED_CHANNEL_ID, 2); private static final NotificationContent BLUETOOTH_NOTIFICATION =