New version 53.1.1

This commit is contained in:
Juha Heinanen
2023-03-28 17:58:16 +03:00
parent 4fd794fe86
commit 09b0e874ba
3 changed files with 18 additions and 5 deletions
+4 -3
View File
@@ -9,8 +9,8 @@ android {
applicationId = 'com.tutpro.baresip' applicationId = 'com.tutpro.baresip'
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 33 targetSdkVersion 33
versionCode = 269 versionCode = 270
versionName = '53.1.0' versionName = '53.1.1'
externalNativeBuild { externalNativeBuild {
cmake { cmake {
cFlags '-DHAVE_INTTYPES_H -lstdc++' cFlags '-DHAVE_INTTYPES_H -lstdc++'
@@ -19,7 +19,8 @@ android {
} }
} }
ndk { ndk {
//noinspection ChromeOsAbiSupport // abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64'
// noinspection ChromeOsAbiSupport
abiFilters 'armeabi-v7a', 'arm64-v8a' abiFilters 'armeabi-v7a', 'arm64-v8a'
} }
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
@@ -416,7 +416,8 @@ class AccountActivity : AppCompatActivity() {
acc.authUser = Api.account_auth_user(acc.accp) acc.authUser = Api.account_auth_user(acc.accp)
Log.d(TAG, "New auth user is ${acc.authUser}") Log.d(TAG, "New auth user is ${acc.authUser}")
save = true save = true
reRegister = true if (acc.regint > 0)
reRegister = true
} else { } else {
Log.e(TAG, "Setting of auth user failed") Log.e(TAG, "Setting of auth user failed")
} }
@@ -489,7 +490,8 @@ class AccountActivity : AppCompatActivity() {
else else
Api.account_set_sipnat(acc.accp, "outbound") Api.account_set_sipnat(acc.accp, "outbound")
save = true save = true
reRegister = true if (acc.regint > 0)
reRegister = true
} }
val newConfiguredRegInt = regInt.text.toString().trim().toInt() val newConfiguredRegInt = regInt.text.toString().trim().toInt()
@@ -741,6 +743,12 @@ class AccountActivity : AppCompatActivity() {
getString(R.string.register_help) getString(R.string.register_help)
) )
} }
binding.RegIntTitle.setOnClickListener {
Utils.alertView(
this, getString(R.string.reg_int),
getString(R.string.reg_int_help)
)
}
binding.AudioCodecsTitle.setOnClickListener { binding.AudioCodecsTitle.setOnClickListener {
val i = Intent(this, CodecsActivity::class.java) val i = Intent(this, CodecsActivity::class.java)
val b = Bundle() val b = Bundle()
@@ -0,0 +1,4 @@
- Launcher icon improvements
- Do not try to register new account if Register has not been checked
- Added Registration Interval help text
- New Russian translations