プリミティブ型に変更
This commit is contained in:
parent
66fdb04556
commit
fb1faa6d56
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user