New version 50.1.3 (includes setting callRunnable to null)

This commit is contained in:
Juha Heinanen
2023-01-25 06:32:31 +02:00
parent 21beadf779
commit a743238a80
2 changed files with 3 additions and 2 deletions

View File

@ -9,8 +9,8 @@ android {
applicationId = 'com.tutpro.baresip'
minSdkVersion 21
targetSdkVersion 33
versionCode = 247
versionName = '50.1.2'
versionCode = 248
versionName = '50.1.3'
externalNativeBuild {
cmake {
cFlags '-DHAVE_INTTYPES_H -lstdc++'

View File

@ -1815,6 +1815,7 @@ class MainActivity : AppCompatActivity() {
if (Build.VERSION.SDK_INT < 31) {
am.mode = AudioManager.MODE_IN_COMMUNICATION
callRunnable = Runnable {
callRunnable = null
if (!call(ua, uri)) {
callButton.visibility = View.VISIBLE
callButton.isEnabled = true