mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 03:58:48 +00:00
Log when there's local storage inserts.
This commit is contained in:
@@ -130,6 +130,7 @@ public class ContactRecordProcessor extends DefaultStorageRecordProcessor<Signal
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
void insertLocal(@NonNull SignalContactRecord record) {
|
void insertLocal(@NonNull SignalContactRecord record) {
|
||||||
|
Log.i(TAG, "Local contact insert");
|
||||||
recipientDatabase.applyStorageSyncContactInsert(record);
|
recipientDatabase.applyStorageSyncContactInsert(record);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ public final class GroupV1RecordProcessor extends DefaultStorageRecordProcessor<
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
void insertLocal(@NonNull SignalGroupV1Record record) {
|
void insertLocal(@NonNull SignalGroupV1Record record) {
|
||||||
|
Log.i(TAG, "Local GV1 insert");
|
||||||
recipientDatabase.applyStorageSyncGroupV1Insert(record);
|
recipientDatabase.applyStorageSyncGroupV1Insert(record);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ public final class GroupV2RecordProcessor extends DefaultStorageRecordProcessor<
|
|||||||
Log.i(TAG, "Discovered a new GV2 ID that is actually a migrated V1 group! Migrating now.");
|
Log.i(TAG, "Discovered a new GV2 ID that is actually a migrated V1 group! Migrating now.");
|
||||||
GroupsV1MigrationUtil.performLocalMigration(context, possibleV1Id);
|
GroupsV1MigrationUtil.performLocalMigration(context, possibleV1Id);
|
||||||
} else {
|
} else {
|
||||||
|
Log.i(TAG, "Local GV2 insert");
|
||||||
recipientDatabase.applyStorageSyncGroupV2Insert(record);
|
recipientDatabase.applyStorageSyncGroupV2Insert(record);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user