mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-02-05 05:49:33 +00:00
Fixed crash + prevent background mode from turning ON when doing a remote provisioning if an account is already configured
This commit is contained in:
parent
959744bb52
commit
c9fdbf6f9d
3 changed files with 7 additions and 1 deletions
|
|
@ -55,6 +55,7 @@ Group changes to describe their impact on the project, as follows:
|
|||
- Updated password forgotten procedure, will use online account manager platform
|
||||
|
||||
### Fixed
|
||||
- Prevent crash & background mode from turning on when doing a remote provisioning if an account is already configured
|
||||
- Copy raw message content instead of modified one when it contains a participant mention ("@username")
|
||||
- Do not apply Crashlytics plugin if it's not enabled
|
||||
|
||||
|
|
|
|||
|
|
@ -626,6 +626,11 @@ class ContactsManager
|
|||
Log.w("$TAG Core has been stopped")
|
||||
coroutineScope.cancel()
|
||||
|
||||
knownContactsAvatarsMap.clear()
|
||||
unknownContactsAvatarsMap.clear()
|
||||
conferenceAvatarMap.clear()
|
||||
magicSearchMap.clear()
|
||||
|
||||
core.removeListener(coreListener)
|
||||
|
||||
for (list in core.friendsLists) {
|
||||
|
|
|
|||
|
|
@ -519,7 +519,7 @@ class CoreContext
|
|||
Log.i(
|
||||
"$TAG New account configured: [${account.params.identityAddress?.asStringUriOnly()}]"
|
||||
)
|
||||
if (!core.isPushNotificationAvailable || !account.params.isPushNotificationAvailable) {
|
||||
if (!account.params.isPushNotificationAvailable) {
|
||||
if (!corePreferences.keepServiceAlive) {
|
||||
Log.w(
|
||||
"$TAG Newly added account (or the whole Core) doesn't support push notifications, enabling keep-alive foreground service..."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue