Updated version number for test installation

This commit is contained in:
2026-01-22 17:10:15 +11:00
parent 813441645c
commit 8f178d16e9
2 changed files with 38 additions and 37 deletions

View File

@@ -11,7 +11,7 @@ android {
applicationId = "net.mmanningau.speechtokeyboard" applicationId = "net.mmanningau.speechtokeyboard"
minSdk = 28 minSdk = 28
targetSdk = 36 targetSdk = 36
versionCode = 4 versionCode = 5
versionName = "1.0" versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

View File

@@ -54,6 +54,10 @@ class TestModelActivity : AppCompatActivity(), RecognitionListener {
toggleListening() toggleListening()
} }
// Initialize the model in background
initModel()
}
private fun connectToPico() { private fun connectToPico() {
val usbManager = getSystemService(Context.USB_SERVICE) as UsbManager val usbManager = getSystemService(Context.USB_SERVICE) as UsbManager
@@ -90,9 +94,6 @@ class TestModelActivity : AppCompatActivity(), RecognitionListener {
} }
} }
// Initialize the model in background
initModel()
}
private fun initModel() { private fun initModel() {
// We look for the folder inside private storage (same logic as MainActivity) // We look for the folder inside private storage (same logic as MainActivity)