mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Fix crashes and issues with blurred avatars.
- Tinting on Android 5/6 caused NPE deep in Android - Invite group flow can have zero members - Missed spot to blur avatar in old notification flow
This commit is contained in:
@@ -2906,6 +2906,10 @@ public class RecipientDatabase extends Database {
|
||||
}
|
||||
|
||||
public void setHasGroupsInCommon(@NonNull List<RecipientId> recipientIds) {
|
||||
if (recipientIds.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
SqlUtil.Query query = SqlUtil.buildCollectionQuery(ID, recipientIds);
|
||||
SQLiteDatabase db = databaseHelper.getWritableDatabase();
|
||||
try (Cursor cursor = db.query(TABLE_NAME,
|
||||
|
||||
Reference in New Issue
Block a user