Updated version number for test installation
This commit is contained in:
@@ -11,7 +11,7 @@ android {
|
||||
applicationId = "net.mmanningau.speechtokeyboard"
|
||||
minSdk = 28
|
||||
targetSdk = 36
|
||||
versionCode = 4
|
||||
versionCode = 5
|
||||
versionName = "1.0"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
@@ -54,6 +54,10 @@ class TestModelActivity : AppCompatActivity(), RecognitionListener {
|
||||
toggleListening()
|
||||
}
|
||||
|
||||
// Initialize the model in background
|
||||
initModel()
|
||||
}
|
||||
|
||||
private fun connectToPico() {
|
||||
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() {
|
||||
// We look for the folder inside private storage (same logic as MainActivity)
|
||||
|
||||
Reference in New Issue
Block a user