From fb1faa6d56f3e67664be2e2c1597f29654dff07e 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:35:00 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=97=E3=83=AA=E3=83=9F=E3=83=86=E3=82=A3?= =?UTF-8?q?=E3=83=96=E5=9E=8B=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/example/childguard/TestService.java | 2 +- 1 file changed, 1 insertion(+), 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 48f1e54..2cab77f 100644 --- a/app/src/main/java/com/example/childguard/TestService.java +++ b/app/src/main/java/com/example/childguard/TestService.java @@ -266,7 +266,7 @@ public class TestService extends Service { SharedPreferences.Editor e = pref.edit(); String action = intent.getAction(); // may need to chain this to a recognizing function - Boolean isInCar = pref.getBoolean("isInCarPref", false); + boolean isInCar = pref.getBoolean("isInCarPref", false); if (BluetoothDevice.ACTION_ACL_CONNECTED.equals(action)) { //Do something if connected