mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-26 16:28:08 +00:00
Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38bff44a2d | ||
|
|
aac020a2e6 |
3 changed files with 23 additions and 13 deletions
|
|
@ -10,6 +10,12 @@ Group changes to describe their impact on the project, as follows:
|
||||||
Fixed for any bug fixes.
|
Fixed for any bug fixes.
|
||||||
Security to invite users to upgrade in case of vulnerabilities.
|
Security to invite users to upgrade in case of vulnerabilities.
|
||||||
|
|
||||||
|
## [5.1.1] - 2023-09-06
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Fixed issue in SDK randomly generated password when creating account from app
|
||||||
|
- Various issues reported on the Play Store
|
||||||
|
|
||||||
## [5.1.0] - 2023-08-21
|
## [5.1.0] - 2023-08-21
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ plugins {
|
||||||
id 'org.jetbrains.kotlin.android'
|
id 'org.jetbrains.kotlin.android'
|
||||||
}
|
}
|
||||||
|
|
||||||
def appVersionName = "5.1.0"
|
def appVersionName = "5.1.1"
|
||||||
def appVersionCode = 51000
|
def appVersionCode = 51010
|
||||||
|
|
||||||
def packageName = "org.linphone"
|
def packageName = "org.linphone"
|
||||||
|
|
||||||
|
|
@ -210,11 +210,11 @@ dependencies {
|
||||||
implementation "androidx.security:security-crypto-ktx:1.1.0-alpha06"
|
implementation "androidx.security:security-crypto-ktx:1.1.0-alpha06"
|
||||||
implementation "androidx.window:window:1.1.0"
|
implementation "androidx.window:window:1.1.0"
|
||||||
|
|
||||||
def emoji_version = "1.4.0-rc01"
|
def emoji_version = "1.4.0"
|
||||||
implementation "androidx.emoji2:emoji2:$emoji_version"
|
implementation "androidx.emoji2:emoji2:$emoji_version"
|
||||||
implementation "androidx.emoji2:emoji2-emojipicker:$emoji_version"
|
implementation "androidx.emoji2:emoji2-emojipicker:$emoji_version"
|
||||||
|
|
||||||
def nav_version = "2.6.0"
|
def nav_version = "2.7.1"
|
||||||
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
|
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
|
||||||
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -594,14 +594,16 @@ fun addPrefixEditTextValidation(editText: EditText, enabled: Boolean) {
|
||||||
if (!enabled) return
|
if (!enabled) return
|
||||||
editText.addTextChangedListener(object : TextWatcher {
|
editText.addTextChangedListener(object : TextWatcher {
|
||||||
override fun afterTextChanged(s: Editable?) {
|
override fun afterTextChanged(s: Editable?) {
|
||||||
val dialPlan = PhoneNumberUtils.getDialPlanFromCountryCallingPrefix(
|
if ((s?.length ?: 0) > 1) {
|
||||||
s.toString().substring(1)
|
val dialPlan = PhoneNumberUtils.getDialPlanFromCountryCallingPrefix(
|
||||||
)
|
s.toString().substring(1)
|
||||||
if (dialPlan == null) {
|
)
|
||||||
editText.error =
|
if (dialPlan == null) {
|
||||||
editText.context.getString(
|
editText.error =
|
||||||
R.string.assistant_error_invalid_international_prefix
|
editText.context.getString(
|
||||||
)
|
R.string.assistant_error_invalid_international_prefix
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -857,7 +859,9 @@ fun ScrollDotsView.setSelectedIndex(index: Int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@BindingAdapter("presenceIcon")
|
@BindingAdapter("presenceIcon")
|
||||||
fun ImageView.setPresenceIcon(presence: ConsolidatedPresence) {
|
fun ImageView.setPresenceIcon(presence: ConsolidatedPresence?) {
|
||||||
|
if (presence == null) return
|
||||||
|
|
||||||
val icon = when (presence) {
|
val icon = when (presence) {
|
||||||
ConsolidatedPresence.Online -> R.drawable.led_online
|
ConsolidatedPresence.Online -> R.drawable.led_online
|
||||||
ConsolidatedPresence.DoNotDisturb -> R.drawable.led_do_not_disturb
|
ConsolidatedPresence.DoNotDisturb -> R.drawable.led_do_not_disturb
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue