mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-03-01 14:16:49 +00:00
Add notification profile and chat folder backupv2 proto support.
This commit is contained in:
committed by
Greyson Parrelli
parent
c91123e8e8
commit
d1bfa6ee9e
BIN
app/src/androidTest/assets/backupTests/chat_folder_00.binproto
Normal file
BIN
app/src/androidTest/assets/backupTests/chat_folder_00.binproto
Normal file
Binary file not shown.
BIN
app/src/androidTest/assets/backupTests/chat_folder_01.binproto
Normal file
BIN
app/src/androidTest/assets/backupTests/chat_folder_01.binproto
Normal file
Binary file not shown.
BIN
app/src/androidTest/assets/backupTests/chat_folder_02.binproto
Normal file
BIN
app/src/androidTest/assets/backupTests/chat_folder_02.binproto
Normal file
Binary file not shown.
BIN
app/src/androidTest/assets/backupTests/chat_folder_03.binproto
Normal file
BIN
app/src/androidTest/assets/backupTests/chat_folder_03.binproto
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -66,6 +66,11 @@ class ArchiveImportExportTests {
|
||||
runTests { it.startsWith("chat_") && !it.contains("_item") }
|
||||
}
|
||||
|
||||
// @Test
|
||||
fun chatFolders() {
|
||||
runTests { it.startsWith("chat_folder_") }
|
||||
}
|
||||
|
||||
// @Test
|
||||
fun chatItemContactMessage() {
|
||||
runTests { it.startsWith("chat_item_contact_message_") }
|
||||
@@ -191,7 +196,12 @@ class ArchiveImportExportTests {
|
||||
runTests { it.startsWith("chat_item_view_once_") }
|
||||
}
|
||||
|
||||
// @Test
|
||||
// @Test
|
||||
fun notificationProfiles() {
|
||||
runTests { it.startsWith("notification_profile_") }
|
||||
}
|
||||
|
||||
// @Test
|
||||
fun recipientCallLink() {
|
||||
runTests { it.startsWith("recipient_call_link_") }
|
||||
}
|
||||
|
||||
@@ -1026,7 +1026,7 @@ class RecipientTableTest_getAndPossiblyMerge {
|
||||
}
|
||||
|
||||
private fun notificationProfile(name: String): NotificationProfile {
|
||||
return (SignalDatabase.notificationProfiles.createProfile(name = name, emoji = "", color = AvatarColor.A210, System.currentTimeMillis()) as NotificationProfileDatabase.NotificationProfileChangeResult.Success).notificationProfile
|
||||
return (SignalDatabase.notificationProfiles.createProfile(name = name, emoji = "", color = AvatarColor.A210, System.currentTimeMillis()) as NotificationProfileTables.NotificationProfileChangeResult.Success).notificationProfile
|
||||
}
|
||||
|
||||
private fun getMention(messageId: Long): MentionModel {
|
||||
|
||||
Reference in New Issue
Block a user