mirror of
https://github.com/mik3y/usb-serial-for-android.git
synced 2026-08-20 12:53:04 +00:00
01. Refactored SerialInputOutputManager (#615)
Used separate threads for reading and writing, enhancing concurrency and performance. Note: before was possible to start `SerialInputOutputManager` with `Executors.newSingleThreadExecutor().submit(ioManager)`. Now you have to use `ioManager.start()`
This commit is contained in:
@@ -34,9 +34,10 @@ dependencies {
|
||||
implementation "androidx.annotation:annotation:1.8.0"
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
testImplementation 'org.mockito:mockito-core:5.12.0'
|
||||
androidTestImplementation 'androidx.appcompat:appcompat:1.6.1'
|
||||
androidTestImplementation 'androidx.test:core:1.5.0'
|
||||
androidTestImplementation 'androidx.test:runner:1.5.2'
|
||||
androidTestImplementation 'commons-net:commons-net:3.10.0'
|
||||
androidTestImplementation 'commons-net:commons-net:3.9.0' // later version fails on old Android devices with missing java.time.Duration class
|
||||
androidTestImplementation 'org.apache.commons:commons-lang3:3.14.0'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user