mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Remove old notification system and notification rewrite feature flag.
This commit is contained in:
@@ -20,6 +20,7 @@ public class InMemoryMessageRecord extends MessageRecord {
|
||||
|
||||
private static final int NO_GROUPS_IN_COMMON_ID = -1;
|
||||
private static final int UNIVERSAL_EXPIRE_TIMER_ID = -2;
|
||||
private static final int FORCE_BUBBLE_ID = -3;
|
||||
|
||||
private InMemoryMessageRecord(long id,
|
||||
String body,
|
||||
@@ -137,4 +138,13 @@ public class InMemoryMessageRecord extends MessageRecord {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Useful for create an empty message record when one is needed.
|
||||
*/
|
||||
public static final class ForceConversationBubble extends InMemoryMessageRecord {
|
||||
public ForceConversationBubble(Recipient conversationRecipient, long threadId) {
|
||||
super(FORCE_BUBBLE_ID, "", conversationRecipient, threadId, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user