mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-25 04:06:14 +00:00
Add notification profile and chat folder backupv2 proto support.
This commit is contained in:
committed by
Greyson Parrelli
parent
c91123e8e8
commit
d1bfa6ee9e
@@ -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