Skip to content

Commit ac389b2

Browse files
Fix bug
1 parent 8ac01c1 commit ac389b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/local/SQLiteDocumentOverlayCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public Map<DocumentKey, Overlay> getOverlays(SortedSet<DocumentKey> keys) {
7171
if (!currentCollection.equals(key.getCollectionPath())) {
7272
processSingleCollection(result, backgroundQueue, currentCollection, accumulatedDocumentIds);
7373
currentCollection = key.getCollectionPath();
74-
accumulatedDocumentIds.clear();
74+
accumulatedDocumentIds = new ArrayList<>();
7575
}
7676
accumulatedDocumentIds.add(key.getDocumentId());
7777
}

0 commit comments

Comments
 (0)