TestServiceの全体的なリファクタリング #28

Merged
asura146 merged 73 commits from improve/refactor_service into main 2024-07-12 02:17:26 +00:00
Showing only changes of commit fb1faa6d56 - Show all commits

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