This commit is contained in:
ろむねこ 2024-07-11 16:08:06 +09:00
parent 04ea92e8ae
commit 4265b69a83
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -52,7 +52,9 @@ public class TestService extends Service {
public static final String TAG = "InspirationQuote"; public static final String TAG = "InspirationQuote";
private static final String CHANNEL_ID = "child_guard_emergency"; private static final String CHANNEL_ID = "child_guard_emergency";
private static final int REQUEST_CODE = 100; 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 = private static final NotificationContent REPORTED_NOTIFICATION =
new NotificationContent("子供の置き去りをしていませんか?", "第三者からの通報が行われました。"); new NotificationContent("子供の置き去りをしていませんか?", "第三者からの通報が行われました。");
private static final NotificationContent BLUETOOTH_NOTIFICATION = private static final NotificationContent BLUETOOTH_NOTIFICATION =