From 286c178f7fed081cee60c1af650a6920380423bb 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 15:39:52 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=81=AA=E5=87=A6=E7=90=86?= =?UTF-8?q?=E3=82=92=E5=89=8A=E9=99=A4(=E5=90=8C=E3=81=98=E5=80=A4?= =?UTF-8?q?=E3=82=925=E5=88=86=E5=BE=8C=E3=81=AB=E6=AF=94=E8=BC=83?= =?UTF-8?q?=E3=81=97=E3=81=A6=E3=82=82=E7=B5=90=E6=9E=9C=E3=81=AF=E5=A4=89?= =?UTF-8?q?=E3=82=8F=E3=82=89=E3=81=AA=E3=81=84=E3=81=9F=E3=82=81)?= 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, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/com/example/childguard/TestService.java b/app/src/main/java/com/example/childguard/TestService.java index 654a6bd..300a3c1 100644 --- a/app/src/main/java/com/example/childguard/TestService.java +++ b/app/src/main/java/com/example/childguard/TestService.java @@ -272,9 +272,7 @@ public class TestService extends Service { handler.postDelayed(new Runnable() { @Override public void run() { - if (BluetoothDevice.ACTION_ACL_DISCONNECTED.equals(action) && !isInCar) {//その後bluetoothを再接続したり降車状態になったりしていない=置き去りが発生した可能性大 - Notification(context, BLUETOOTH_NOTIFICATION); - } + Notification(context, BLUETOOTH_NOTIFICATION); } }, 5 * 60 * 1000); // 5分をミリ秒に変換