mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Add context menus to story contacts in contact selection.
This commit is contained in:
committed by
Cody Henthorne
parent
7bd34d2b99
commit
c64be82710
@@ -1418,8 +1418,12 @@ public class GroupDatabase extends Database {
|
||||
}
|
||||
|
||||
public void markDisplayAsStory(@NonNull GroupId groupId) {
|
||||
markDisplayAsStory(groupId, true);
|
||||
}
|
||||
|
||||
public void markDisplayAsStory(@NonNull GroupId groupId, boolean displayAsStory) {
|
||||
ContentValues contentValues = new ContentValues(1);
|
||||
contentValues.put(DISPLAY_AS_STORY, true);
|
||||
contentValues.put(DISPLAY_AS_STORY, displayAsStory);
|
||||
|
||||
getWritableDatabase().update(TABLE_NAME, contentValues, GROUP_ID + " = ?", SqlUtil.buildArgs(groupId.toString()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user