プリミティブ型に変更

This commit is contained in:
ろむねこ 2024-07-11 15:35:00 +09:00
parent 66fdb04556
commit fb1faa6d56
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -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