From 4265b69a83925b2e72852e523c676483c9f908fb 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:08:06 +0900 Subject: [PATCH] Debug --- app/src/main/java/com/example/childguard/TestService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/example/childguard/TestService.java b/app/src/main/java/com/example/childguard/TestService.java index 4aca545..7f488ee 100644 --- a/app/src/main/java/com/example/childguard/TestService.java +++ b/app/src/main/java/com/example/childguard/TestService.java @@ -52,7 +52,9 @@ public class TestService extends Service { public static final String TAG = "InspirationQuote"; private static final String CHANNEL_ID = "child_guard_emergency"; private static final int REQUEST_CODE = 100; - private static final int NOTIFICATION_DELAY = 5 * 60 * 1000; // 5 minutes +// private static final int NOTIFICATION_DELAY = 5 * 60 * 1000; // 5 minutes + // DEBUG + private static final int NOTIFICATION_DELAY = 15 * 1000; // 15 seconds private static final NotificationContent REPORTED_NOTIFICATION = new NotificationContent("子供の置き去りをしていませんか?", "第三者からの通報が行われました。"); private static final NotificationContent BLUETOOTH_NOTIFICATION =