Skip to content

Commit 86f5dec

Browse files
committed
V2.6.15
- Use latest USB LIB - Fix #281 compile options - Use latest translations
1 parent a1c8e7e commit 86f5dec

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

androbd/build.gradle

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,24 @@ android {
99
// SDK 25 to allow background service mechanism for plugins
1010
//noinspection ExpiredTargetSdkVersion
1111
targetSdkVersion 25
12-
versionCode 20614
13-
versionName 'V2.6.14'
12+
versionCode 20615
13+
versionName 'V2.6.15'
1414

1515
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1616

1717
lintOptions {
1818
// Override lint error on targetSdkVersion
1919
abortOnError false
2020
}
21+
22+
compileOptions {
23+
sourceCompatibility JavaVersion.VERSION_17
24+
targetCompatibility JavaVersion.VERSION_17
25+
}
26+
27+
kotlinOptions {
28+
jvmTarget = "17" // Ensure consistency with JavaVersion.VERSION_17
29+
}
2130
}
2231

2332
applicationVariants.configureEach { variant ->
@@ -43,7 +52,7 @@ dependencies {
4352
implementation project(':plugin')
4453
implementation project(':library')
4554
implementation fileTree(include: ['*.jar'], dir: 'libs')
46-
implementation 'com.github.mik3y:usb-serial-for-android:3.8.1'
55+
implementation 'com.github.mik3y:usb-serial-for-android:3.9.0'
4756
implementation 'com.github.anastr:speedviewlib:1.6.1'
4857
implementation 'androidx.core:core-ktx:1.12.0'
4958
}

androbd/src/main/java/com/fr3ts0n/ecu/gui/androbd/UsbCommService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public void start()
206206
// Initialize SerialIoManager AFTER opening sPort
207207
// workaround for AndrOBD#285 / https://github.com/mik3y/usb-serial-for-android/issues/611
208208
mSerialIoManager = new SerialInputOutputManager(sPort, mListener);
209-
Executors.newSingleThreadExecutor().submit(mSerialIoManager);
209+
mSerialIoManager.start();
210210

211211
// we are connected -> signal connectionEstablished
212212
connectionEstablished(sPort.toString());

androbd/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<resources>
33
<!-- AndrOBD -->
44
<string name="app_name" translatable="false">AndrOBD</string>
5-
<string name="copyright_fr3ts0n" translatable="false">© 2015-2024 fr3ts0n</string>
5+
<string name="copyright_fr3ts0n" translatable="false">© 2015-2025 fr3ts0n</string>
66
<string name="translation_credits">Translation by fr3ts0n</string>
77
<string name="app_description">Android OBD vehicle diagnostics app for ELM327 Bluetooth adapter</string>
88
<string name="copied_to_clipboard">Copied to clipboard</string>

0 commit comments

Comments
 (0)