mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Bumped version code to 6.01.001 and updated CHANGELOG
This commit is contained in:
parent
61c79a86f7
commit
6b56165d4f
3 changed files with 4 additions and 53 deletions
|
|
@ -45,8 +45,11 @@ Group changes to describe their impact on the project, as follows:
|
||||||
- Un-encrypted conversation warning will be more visible for accounts that support end-to-end encrypted conversations
|
- Un-encrypted conversation warning will be more visible for accounts that support end-to-end encrypted conversations
|
||||||
- Made numpad buttons larger by changing their shape
|
- Made numpad buttons larger by changing their shape
|
||||||
- All LDAP fields are mandatory now
|
- All LDAP fields are mandatory now
|
||||||
|
- Improved how Android shortcuts are created
|
||||||
- Permission fragment will only show missing ones
|
- Permission fragment will only show missing ones
|
||||||
- Added more info into StartupListener logs
|
- Added more info into StartupListener logs
|
||||||
|
- Updated password forgotten procedure, will use online account manager platform
|
||||||
|
- Added back "large heap" to AndroidManifest
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- No audio focus & wrong audio manager mode when TelecomManager isn't supported by device
|
- No audio focus & wrong audio manager mode when TelecomManager isn't supported by device
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ android {
|
||||||
applicationId = packageName
|
applicationId = packageName
|
||||||
minSdk = 28
|
minSdk = 28
|
||||||
targetSdk = 36
|
targetSdk = 36
|
||||||
versionCode = 600020 // 6.00.020
|
versionCode = 601001 // 6.01.001
|
||||||
versionName = "6.1.0-alpha"
|
versionName = "6.1.0-alpha"
|
||||||
|
|
||||||
manifestPlaceholders["appAuthRedirectScheme"] = packageName
|
manifestPlaceholders["appAuthRedirectScheme"] = packageName
|
||||||
|
|
|
||||||
|
|
@ -84,58 +84,6 @@ class ShortcutUtils {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
@WorkerThread
|
|
||||||
fun createShortcutsToChatRooms(context: Context) {
|
|
||||||
if (ShortcutManagerCompat.isRateLimitingActive(context)) {
|
|
||||||
Log.e("$TAG Rate limiting is active, aborting")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
Log.i("$TAG Creating dynamic shortcuts for conversations")
|
|
||||||
val defaultAccount = coreContext.core.defaultAccount
|
|
||||||
if (defaultAccount == null) {
|
|
||||||
Log.w("$TAG No default account found, skipping...")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
var count = 0
|
|
||||||
for (chatRoom in defaultAccount.chatRooms) {
|
|
||||||
if (defaultAccount.params.instantMessagingEncryptionMandatory &&
|
|
||||||
!chatRoom.hasCapability(ChatRoom.Capabilities.Encrypted.toInt())
|
|
||||||
) {
|
|
||||||
Log.w(
|
|
||||||
"$TAG Account is in secure mode, skipping not encrypted conversation [${LinphoneUtils.getConversationId(
|
|
||||||
chatRoom
|
|
||||||
)}]"
|
|
||||||
)
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
if (count >= 4) {
|
|
||||||
Log.i("$TAG We already created [$count] shortcuts, stopping here")
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
val shortcut: ShortcutInfoCompat? = createChatRoomShortcut(context, chatRoom)
|
|
||||||
if (shortcut != null) {
|
|
||||||
Log.i("$TAG Created dynamic shortcut for ${shortcut.shortLabel}")
|
|
||||||
try {
|
|
||||||
val keepGoing = ShortcutManagerCompat.pushDynamicShortcut(context, shortcut)
|
|
||||||
if (keepGoing) {
|
|
||||||
count += 1
|
|
||||||
} else {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
} catch (e: Exception) {
|
|
||||||
Log.e("$TAG Failed to push dynamic shortcut for ${shortcut.shortLabel}: $e")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Log.i("$TAG Created $count dynamic shortcuts")
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
@WorkerThread
|
@WorkerThread
|
||||||
fun createDynamicShortcutToChatRoom(context: Context, chatRoom: ChatRoom) {
|
fun createDynamicShortcutToChatRoom(context: Context, chatRoom: ChatRoom) {
|
||||||
val shortcut: ShortcutInfoCompat? = createChatRoomShortcut(context, chatRoom)
|
val shortcut: ShortcutInfoCompat? = createChatRoomShortcut(context, chatRoom)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue